]> www.ginac.de Git - cln.git/blobdiff - include/cln/integer.h
Assume types 'long long int' and 'long double' exist.
[cln.git] / include / cln / integer.h
index 081caf2659541d17198fd6e2795c9028463040d4..7b95efd0ac19f920408d6b92ce1c22a1d660bb9e 100644 (file)
@@ -218,12 +218,10 @@ inline const cl_I operator+ (const long x, const cl_I& y)
        { return cl_I(x) + y; }
 inline const cl_I operator+ (const unsigned long x, const cl_I& y)
        { return cl_I(x) + y; }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator+ (const long long x, const cl_I& y)
        { return cl_I(x) + y; }
 inline const cl_I operator+ (const unsigned long long x, const cl_I& y)
        { return cl_I(x) + y; }
-#endif
 inline const cl_I operator+ (const cl_I& x, const int y)
        { return x + cl_I(y); }
 inline const cl_I operator+ (const cl_I& x, const unsigned int y)
@@ -232,12 +230,10 @@ inline const cl_I operator+ (const cl_I& x, const long y)
        { return x + cl_I(y); }
 inline const cl_I operator+ (const cl_I& x, const unsigned long y)
        { return x + cl_I(y); }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator+ (const cl_I& x, const long long y)
        { return x + cl_I(y); }
 inline const cl_I operator+ (const cl_I& x, const unsigned long long y)
        { return x + cl_I(y); }
-#endif
 
 // (- x), wenn x ein Integer ist. Ergebnis Integer.
 extern const cl_I operator- (const cl_I& x);
@@ -253,12 +249,10 @@ inline const cl_I operator- (const long x, const cl_I& y)
        { return cl_I(x) - y; }
 inline const cl_I operator- (const unsigned long x, const cl_I& y)
        { return cl_I(x) - y; }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator- (const long long x, const cl_I& y)
        { return cl_I(x) - y; }
 inline const cl_I operator- (const unsigned long long x, const cl_I& y)
        { return cl_I(x) - y; }
-#endif
 inline const cl_I operator- (const cl_I& x, const int y)
        { return x - cl_I(y); }
 inline const cl_I operator- (const cl_I& x, const unsigned int y)
@@ -267,12 +261,10 @@ inline const cl_I operator- (const cl_I& x, const long y)
        { return x - cl_I(y); }
 inline const cl_I operator- (const cl_I& x, const unsigned long y)
        { return x - cl_I(y); }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator- (const cl_I& x, const long long y)
        { return x - cl_I(y); }
 inline const cl_I operator- (const cl_I& x, const unsigned long long y)
        { return x - cl_I(y); }
-#endif
 
 // (abs x), wenn x ein Integer ist. Ergebnis Integer.
 extern const cl_I abs (const cl_I& x);
@@ -361,12 +353,10 @@ inline const cl_I operator* (const long x, const cl_I& y)
        { return cl_I(x) * y; }
 inline const cl_I operator* (const unsigned long x, const cl_I& y)
        { return cl_I(x) * y; }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator* (const long long x, const cl_I& y)
        { return cl_I(x) * y; }
 inline const cl_I operator* (const unsigned long long x, const cl_I& y)
        { return cl_I(x) * y; }
-#endif
 inline const cl_I operator* (const cl_I& x, const int y)
        { return x * cl_I(y); }
 inline const cl_I operator* (const cl_I& x, const unsigned int y)
@@ -375,12 +365,10 @@ inline const cl_I operator* (const cl_I& x, const long y)
        { return x * cl_I(y); }
 inline const cl_I operator* (const cl_I& x, const unsigned long y)
        { return x * cl_I(y); }
-#ifdef HAVE_LONGLONG
 inline const cl_I operator* (const cl_I& x, const long long y)
        { return x * cl_I(y); }
 inline const cl_I operator* (const cl_I& x, const unsigned long long y)
        { return x * cl_I(y); }
-#endif
 
 // (EXPT x 2), wo x Integer ist.
 extern const cl_I square (const cl_I& x);