]> www.ginac.de Git - cln.git/blob - src/float/lfloat/misc/cl_LF_precision.cc
Use paths relative the `src' directory in the #include directives.
[cln.git] / src / float / lfloat / misc / cl_LF_precision.cc
1 // float_precision().
2
3 // General includes.
4 #include "base/cl_sysdep.h"
5
6 // Specification.
7 #include "cln/lfloat.h"
8
9
10 // Implementation.
11
12 #include "float/lfloat/cl_LF.h"
13
14 #include "base/cl_inline.h"
15 #include "float/lfloat/elem/cl_LF_zerop.cc"
16
17 namespace cln {
18
19 CL_INLINE2 uintC CL_INLINE2_DECL(float_precision) (const cl_LF& x)
20 {
21         if (zerop_inline(x)) return 0;
22         return intDsize*(uintC)(TheLfloat(x)->len);
23 }
24
25 }  // namespace cln