]> www.ginac.de Git - cln.git/blob - src/float/dfloat/elem/cl_DF_zerop.cc
Don't generate cln.texi from cln.tex any more.
[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 MAYBE_INLINE
17 bool zerop (const cl_DF& x)
18 {
19 #if 0
20         return DF_uexp(TheDfloat(x)->dfloat_value_semhi) == 0;
21 #else // this is faster
22         return TheDfloat(x)->dfloat_value_semhi == 0;
23 #endif
24 }
25
26 }  // namespace cln