]> www.ginac.de Git - cln.git/blobdiff - src/float/cl_F.h
* */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
[cln.git] / src / float / cl_F.h
index a62329ddf1df9022cf63af78f8151ed7042b6969..900b01fff3d7a1c666879222893aab3bd7b2b86e 100644 (file)
@@ -75,12 +75,12 @@ extern cl_class cl_class_dfloat;
 extern cl_class cl_class_lfloat;
 
 // Type test.
-inline cl_boolean longfloatp (const cl_F& x)
+inline bool longfloatp (const cl_F& x)
 {
        if (x.pointer_p())
                if (x.pointer_type() == &cl_class_lfloat)
-                       return cl_true;
-       return cl_false;
+                       return true;
+       return false;
 }
 
 // Macro: verteilt je nach Float-Typ eines Floats x auf 4 Statements.