X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Ffloat%2Flfloat%2Fmisc%2Fcl_LF_abs.cc;h=b46bdad653ae22936c93ea8881943bf257d7a353;hb=ce250e91fb8d16bc6b35be0add1896fc64f31ec1;hp=be8cb560375d5b0075900320a5a9798660ebbf80;hpb=124a6e42cd31a4e565425e4210e8a31d2f9b1c86;p=cln.git diff --git a/src/float/lfloat/misc/cl_LF_abs.cc b/src/float/lfloat/misc/cl_LF_abs.cc index be8cb56..b46bdad 100644 --- a/src/float/lfloat/misc/cl_LF_abs.cc +++ b/src/float/lfloat/misc/cl_LF_abs.cc @@ -9,16 +9,15 @@ // Implementation. -#undef MAYBE_INLINE -#define MAYBE_INLINE inline +#include "cl_inline.h" #include "cl_LF_minusp.cc" namespace cln { -const cl_LF abs (const cl_LF& x) +const cl_LF CL_FLATTEN abs (const cl_LF& x) { // x<0 -> (- x), x>=0 -> x - if (minusp(x)) return -x; else return x; + if (minusp_inline(x)) return -x; else return x; } } // namespace cln