4 #include "base/cl_sysdep.h"
7 #include "cln/dfloat.h"
12 #include "base/cl_inline.h"
13 #include "float/dfloat/elem/cl_DF_minusp.cc"
17 const cl_DF CL_FLATTEN abs (const cl_DF& x)
19 // x<0 -> (- x), x>=0 -> x
20 if (minusp(x)) return -x; else return x;