4 #include "base/cl_sysdep.h"
12 #include "float/cl_F.h"
13 #include "cln/sfloat.h"
14 #include "cln/ffloat.h"
15 #include "cln/dfloat.h"
16 #include "cln/lfloat.h"
18 #include "base/cl_inline.h"
19 #include "float/sfloat/elem/cl_SF_minusp.cc"
20 #include "float/ffloat/elem/cl_FF_minusp.cc"
21 #include "float/dfloat/elem/cl_DF_minusp.cc"
22 #include "float/lfloat/elem/cl_LF_minusp.cc"
26 const cl_F CL_FLATTEN abs (const cl_F& x)
28 // x<0 -> (- x), x>=0 -> x
30 , if (minusp_inline(x)) return -x; else return x;
31 , if (minusp_inline(x)) return -x; else return x;
32 , if (minusp_inline(x)) return -x; else return x;
33 , if (minusp_inline(x)) return -x; else return x;