13 #include "cln/sfloat.h"
14 #include "cln/ffloat.h"
15 #include "cln/dfloat.h"
16 #include "cln/lfloat.h"
19 #define MAYBE_INLINE inline
20 #include "cl_SF_minusp.cc"
21 #include "cl_FF_minusp.cc"
22 #include "cl_DF_minusp.cc"
23 #include "cl_LF_minusp.cc"
27 const cl_F abs (const cl_F& x)
29 // x<0 -> (- x), x>=0 -> x
31 , if (minusp(x)) return -x; else return x;
32 , if (minusp(x)) return -x; else return x;
33 , if (minusp(x)) return -x; else return x;
34 , if (minusp(x)) return -x; else return x;