X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Fcomplex_class.h;h=54cbcf39d19f8abba089a32ddfcae5e96ac39e70;hb=HEAD;hp=b5dec56e8a4f7f67223db3d9f5e477d5e273b52c;hpb=0c3376e34488b339b826a6ee7d9f2bc6c4e6edac;p=cln.git diff --git a/include/cln/complex_class.h b/include/cln/complex_class.h index b5dec56..54cbcf3 100644 --- a/include/cln/complex_class.h +++ b/include/cln/complex_class.h @@ -21,6 +21,8 @@ public: cl_N (const unsigned int); // argument must be < 2^29 cl_N (const long); cl_N (const unsigned long); + cl_N (const long long); + cl_N (const unsigned long long); cl_N (const float); cl_N (const double); cl_N& operator= (const int); // |argument| must be < 2^29 @@ -29,6 +31,8 @@ public: cl_N& operator= (const unsigned long); cl_N& operator= (const float); cl_N& operator= (const double); + cl_N& operator= (const long long); + cl_N& operator= (const unsigned long long); // Other constructors. cl_N (const char *); // Private constructor. @@ -56,7 +60,8 @@ CL_DEFINE_INT_CONSTRUCTORS(cl_N) CL_DEFINE_INT_ASSIGNMENT_OPERATORS(cl_N) CL_DEFINE_LONG_CONSTRUCTORS(cl_N) CL_DEFINE_LONG_ASSIGNMENT_OPERATORS(cl_N) -// Constructors and assignment operators from C numeric types. +CL_DEFINE_LONGLONG_CONSTRUCTORS(cl_N) +CL_DEFINE_LONGLONG_ASSIGNMENT_OPERATORS(cl_N) CL_DEFINE_FLOAT_CONSTRUCTOR(cl_N) CL_DEFINE_DOUBLE_CONSTRUCTOR(cl_N)