]> www.ginac.de Git - cln.git/blob - src/float/lfloat/elem/cl_LF_plusp.cc
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / src / float / lfloat / elem / cl_LF_plusp.cc
1 // plusp().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/lfloat.h"
8
9
10 // Implementation.
11
12 #include "cl_LF.h"
13 #include "cl_LF_impl.h"
14
15 #include "cl_inline.h"
16 #include "cl_LF_minusp.cc"
17 #include "cl_LF_zerop.cc"
18
19 namespace cln {
20
21 CL_INLINE2 bool CL_INLINE2_DECL(plusp) (const cl_LF& x)
22 {
23         if (minusp_inline(x))
24                 return false; // x<0 -> nein
25         elif (zerop_inline(x))
26                 return false; // x=0 -> nein
27         else
28                 return true; // sonst ist x>0.
29 }
30
31 }  // namespace cln