]> www.ginac.de Git - cln.git/blobdiff - include/cln/dfloat.h
Replace CL_REQUIRE/CL_PROVIDE(cl_I_ring) with portable code.
[cln.git] / include / cln / dfloat.h
index 023261b0b8078e4926b38c3539b86396ad5ced59..2e96eb3c5c777ce7b8327f7dfd5c120d02549dd3 100644 (file)
@@ -20,7 +20,7 @@ extern const cl_DF operator- (const cl_DF& x);
 // Ergebnis: 0 falls x=y, +1 falls x>y, -1 falls x<y.
 extern cl_signean compare (const cl_DF& x, const cl_DF& y);
 
-// equal_hashcode(x) liefert einen equal-invarianten Hashcode für x.
+// equal_hashcode(x) liefert einen equal-invarianten Hashcode für x.
 extern uint32 equal_hashcode (const cl_DF& x);
 
 inline bool operator== (const cl_DF& x, const cl_DF& y)
@@ -293,7 +293,6 @@ extern float float_approx (const cl_DF& x);
 extern double double_approx (const cl_DF& x);
 
 
-#ifdef WANT_OBFUSCATING_OPERATORS
 // This could be optimized to use in-place operations.
 inline cl_DF& operator+= (cl_DF& x, const cl_DF& y) { return x = x + y; }
 inline cl_DF& operator+= (cl_DF& x, const double y) { return x = x + y; }
@@ -307,11 +306,9 @@ inline cl_DF& operator*= (cl_DF& x, const cl_DF& y) { return x = x * y; }
 inline cl_DF& operator*= (cl_DF& x, const double y) { return x = x * y; }
 inline cl_DF& operator/= (cl_DF& x, const cl_DF& y) { return x = x / y; }
 inline cl_DF& operator/= (cl_DF& x, const double y) { return x = x / y; }
-#endif
 
 
 /* */
-CL_REQUIRE(cl_ieee)
 
 
 // Runtime typing support.