]> www.ginac.de Git - cln.git/blob - src/real/elem/cl_R_plusp.cc
Initial revision
[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 "cl_real.h"
8
9
10 // Implementation.
11
12 cl_boolean plusp (const cl_R& x)
13 {
14         if (minusp(x))
15                 return cl_false; // x<0 -> nein
16         elif (zerop(x))
17                 return cl_false; // x=0 -> nein
18         else
19                 return cl_true; // sonst ist x>0.
20 }