]> www.ginac.de Git - cln.git/blobdiff - src/float/dfloat/elem/cl_DF_minus.cc
Get rid of CL_REQUIRE/CL_PROVIDE(cl_ieee).
[cln.git] / src / float / dfloat / elem / cl_DF_minus.cc
index ce24ac3ba9c60b88b838c92a497c49f1c160e6e1..1e5447f773109bd4e6ce6c93d3ece66fab49d75f 100644 (file)
@@ -4,14 +4,15 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_dfloat.h"
+#include "cln/dfloat.h"
 
 
 // Implementation.
 
 #include "cl_DF.h"
-#include "cl_ieee.h"
-NEED_IEEE_FLOATS()
+
+namespace cln {
+
 
 const cl_DF operator- (const cl_DF& x1, const cl_DF& x2)
 {
@@ -20,9 +21,9 @@ const cl_DF operator- (const cl_DF& x1, const cl_DF& x2)
 #ifdef FAST_DOUBLE
       double_to_DF(DF_to_double(x1) - DF_to_double(x2), return ,
                    TRUE, TRUE, // Overflow und subnormale Zahl abfangen
-                   FALSE, // kein Underflow mit Ergebnis +/- 0.0 möglich
+                   FALSE, // kein Underflow mit Ergebnis +/- 0.0 möglich
                           // (nach Definition der subnormalen Zahlen)
-                   FALSE, FALSE // keine Singularität, kein NaN als Ergebnis möglich
+                   FALSE, FALSE // keine Singularität, kein NaN als Ergebnis möglich
                   );
 #else
 #if (cl_word_size==64)
@@ -41,3 +42,5 @@ const cl_DF operator- (const cl_DF& x1, const cl_DF& x2)
 #endif
 #endif
 }
+
+}  // namespace cln