]> www.ginac.de Git - cln.git/blobdiff - src/float/sfloat/elem/cl_SF_minus.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / float / sfloat / elem / cl_SF_minus.cc
index 3496e63eb2f787b16696c93d4875fc1d51af1c98..5f6bfcf51c8253e4120b6f660628add7551dd47e 100644 (file)
@@ -11,8 +11,8 @@
 
 #include "cl_SF.h"
 
-#undef MAYBE_INLINE
-#define MAYBE_INLINE inline
+/* Use inline version of zerop */
+#include "cl_inline.h"
 #include "cl_SF_zerop.cc"
 
 namespace cln {
@@ -21,7 +21,7 @@ const cl_SF operator- (const cl_SF& x1, const cl_SF& x2)
 {
 // Methode:
 // (- x1 x2) = (+ x1 (- x2))
-       if (zerop(x2))
+       if (zerop_inline(x2))
                return x1;
        else
                return x1 + cl_SF_from_word(x2.word ^ bit(SF_sign_shift));