X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;ds=sidebyside;f=include%2Fcln%2Finteger_class.h;h=6c99bda8195864f66143745bea3644b521a2e158;hb=HEAD;hp=db2068e720a022aae1d28083bc47280e1cd31a43;hpb=0c3376e34488b339b826a6ee7d9f2bc6c4e6edac;p=cln.git diff --git a/include/cln/integer_class.h b/include/cln/integer_class.h index db2068e..6c99bda 100644 --- a/include/cln/integer_class.h +++ b/include/cln/integer_class.h @@ -21,10 +21,14 @@ public: cl_I (const unsigned int); // argument must be < 2^29 cl_I (const long); cl_I (const unsigned long); + cl_I (const long long); + cl_I (const unsigned long long); cl_I& operator= (const int); // |argument| must be < 2^29 cl_I& operator= (const unsigned int); // argument must be < 2^29 cl_I& operator= (const long); cl_I& operator= (const unsigned long); + cl_I& operator= (const long long); + cl_I& operator= (const unsigned long long); // Other constructors. cl_I (const char *); // Private constructor. @@ -51,6 +55,8 @@ CL_DEFINE_INT_CONSTRUCTORS(cl_I) CL_DEFINE_INT_ASSIGNMENT_OPERATORS(cl_I) CL_DEFINE_LONG_CONSTRUCTORS(cl_I) CL_DEFINE_LONG_ASSIGNMENT_OPERATORS(cl_I) +CL_DEFINE_LONGLONG_CONSTRUCTORS(cl_I) +CL_DEFINE_LONGLONG_ASSIGNMENT_OPERATORS(cl_I) } // namespace cln