]> www.ginac.de Git - cln.git/blob - src/real/elem/cl_R_plusp.cc
* */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
[cln.git] / src / real / elem / cl_R_plusp.cc
1 // plusp().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/real.h"
8
9
10 // Implementation.
11
12 namespace cln {
13
14 bool plusp (const cl_R& x)
15 {
16         if (minusp(x))
17                 return false; // x<0 -> nein
18         elif (zerop(x))
19                 return false; // x=0 -> nein
20         else
21                 return true; // sonst ist x>0.
22 }
23
24 }  // namespace cln