]> www.ginac.de Git - cln.git/blob - src/float/dfloat/elem/cl_DF_minusp.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / dfloat / elem / cl_DF_minusp.cc
1 // minusp().
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 cl_boolean minusp (const cl_DF& x)
18 {
19 #if (cl_word_size==64)
20         return (cl_boolean) ((sint64)TheDfloat(x)->dfloat_value_semhi < 0);
21 #else
22         return (cl_boolean) ((sint32)TheDfloat(x)->dfloat_value_semhi < 0);
23 #endif
24 }
25
26 }  // namespace cln