]> www.ginac.de Git - cln.git/blobdiff - src/float/dfloat/elem/cl_DF_minusp.cc
Finalize CLN 1.3.7 release.
[cln.git] / src / float / dfloat / elem / cl_DF_minusp.cc
index a5605bf5cbf562051bd6462675dbc1eb53bf1596..cd316f8c90c02e008c388853e588d4755e86aa4f 100644 (file)
@@ -1,22 +1,25 @@
 // minusp().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_dfloat.h"
+#include "cln/dfloat.h"
 
 
 // Implementation.
 
-#include "cl_DF.h"
+#include "float/dfloat/cl_DF.h"
 
-MAYBE_INLINE
-cl_boolean minusp (const cl_DF& x)
+namespace cln {
+
+CL_INLINE bool CL_INLINE_DECL(minusp) (const cl_DF& x)
 {
 #if (cl_word_size==64)
-       return (cl_boolean) ((sint64)TheDfloat(x)->dfloat_value_semhi < 0);
+       return (sint64)TheDfloat(x)->dfloat_value_semhi < 0;
 #else
-       return (cl_boolean) ((sint32)TheDfloat(x)->dfloat_value_semhi < 0);
+       return (sint32)TheDfloat(x)->dfloat_value_semhi < 0;
 #endif
 }
+
+}  // namespace cln