]> www.ginac.de Git - cln.git/blob - src/float/elem/cl_F_zerop.cc
Fix integer input with leading zeros in power-of-two base.
[cln.git] / src / float / elem / cl_F_zerop.cc
1 // zerop().
2
3 // General includes.
4 #include "base/cl_sysdep.h"
5
6 // Specification.
7 #include "cln/float.h"
8
9
10 // Implementation.
11
12 #include "float/cl_F.h"
13
14 #include "base/cl_inline.h"
15 #include "float/sfloat/elem/cl_SF_zerop.cc"
16 #include "float/ffloat/elem/cl_FF_zerop.cc"
17 #include "float/dfloat/elem/cl_DF_zerop.cc"
18 #include "float/lfloat/elem/cl_LF_zerop.cc"
19
20 namespace cln {
21
22 bool CL_FLATTEN zerop (const cl_F& x)
23 {
24         floatcase(x
25         ,       return zerop_inline(x);
26         ,       return zerop_inline(x);
27         ,       return zerop_inline(x);
28         ,       return zerop_inline(x);
29         );
30 }
31
32 }  // namespace cln