]> www.ginac.de Git - cln.git/blobdiff - src/integer/misc/cl_I_signum.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / integer / misc / cl_I_signum.cc
index bbd236a0b7feeae55ecded1b64c1f4cff8ca7b52..581bc1ad71775651613e3427a1c7c4857ec3f1c1 100644 (file)
@@ -13,8 +13,7 @@
 
 namespace cln {
 
-MAYBE_INLINE
-const cl_I signum (const cl_I& x)
+CL_INLINE const cl_I CL_INLINE_DECL(signum) (const cl_I& x)
 {
        if (minusp(x)) { return -1; } // x<0 -> -1
        elif (zerop(x)) { return 0; } // x=0 -> 0