]> www.ginac.de Git - cln.git/blobdiff - src/float/lfloat/elem/cl_LF_minusp.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / float / lfloat / elem / cl_LF_minusp.cc
index cb8258829de3e3e4082df3b6016fb6bb50a11ad0..3fd4ef8d9a689d787c30ebe127e2189155fbaa5a 100644 (file)
@@ -4,15 +4,18 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_lfloat.h"
+#include "cln/lfloat.h"
 
 
 // Implementation.
 
 #include "cl_LF.h"
 
-MAYBE_INLINE
-cl_boolean minusp (const cl_LF& x)
+namespace cln {
+
+CL_INLINE bool CL_INLINE_DECL(minusp) (const cl_LF& x)
 {
-       return (cl_boolean) (- TheLfloat(x)->sign);
+       return -TheLfloat(x)->sign;
 }
+
+}  // namespace cln