]> www.ginac.de Git - cln.git/blob - src/float/dfloat/elem/cl_DF_zerop.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / float / dfloat / elem / cl_DF_zerop.cc
1 // zerop().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/dfloat.h"
8
9
10 // Implementation.
11
12 #include "cl_DF.h"
13
14 namespace cln {
15
16 CL_INLINE bool CL_INLINE_DECL(zerop) (const cl_DF& x)
17 {
18 #if 0
19         return DF_uexp(TheDfloat(x)->dfloat_value_semhi) == 0;
20 #else // this is faster
21         return TheDfloat(x)->dfloat_value_semhi == 0;
22 #endif
23 }
24
25 }  // namespace cln