]> www.ginac.de Git - cln.git/blobdiff - src/float/transcendental/cl_F_expx.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / float / transcendental / cl_F_expx.cc
index 9250faddb2bbcc2b8edf6cb7d9256d4e604891dc..19517cdc545721328680d096407bdc30c37aae2a 100644 (file)
@@ -16,8 +16,7 @@
 #include "cl_LF.h"
 #include "cln/integer.h"
 
-#undef MAYBE_INLINE
-#define MAYBE_INLINE inline
+#include "cl_inline.h"
 #include "cl_LF_zerop.cc"
 #include "cl_LF_exponent.cc"
 
@@ -44,11 +43,11 @@ const cl_LF expx_naive (const cl_LF& x)
 {
 // Methode:
 // wie oben, mit adaptiver Genauigkeit während der Potenzreihen-Summation.
-       if (zerop(x))
+       if (zerop_inline(x))
                return cl_float(1,x);
        var uintC actuallen = TheLfloat(x)->len;
        var uintC d = float_digits(x);
-       var sintE e = float_exponent(x);
+       var sintE e = float_exponent_inline(x);
        if (e < -(sintC)d) // e < -d ?
                return cl_float(1,x); // ja -> 1.0 als Ergebnis
  {     Mutable(cl_LF,x);