Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > e3e29275ee79c3d28157c64f5e4d478c > files > 2

python-clnum-1.4-5mdv2009.0.src.rpm

--- clnum/src/clnum.cpp.old	2008-01-28 14:58:06.000000000 -0500
+++ clnum/src/clnum.cpp	2008-01-28 15:02:05.000000000 -0500
@@ -1172,7 +1172,7 @@
     crf.lsyntax = lsyntax_standard;
     crf.float_flags.default_float_format = fmt;
     crf.float_flags.default_lfloat_format = fmt;
-    crf.float_flags.mantissa_dependent_float_format = cl_false;
+    crf.float_flags.mantissa_dependent_float_format = false;
 
     char const *s = PyString_AS_STRING(result);
     cl_F x = read_float(crf, s, NULL, NULL);
@@ -2426,7 +2426,7 @@
     crf.lsyntax = lsyntax_standard;
     crf.float_flags.default_float_format = fmt;
     crf.float_flags.default_lfloat_format = fmt;
-    crf.float_flags.mantissa_dependent_float_format = cl_false;
+    crf.float_flags.mantissa_dependent_float_format = false;
 
     char const *s = PyString_AS_STRING(PyTuple_GET_ITEM(result,0));
     cl_F x = read_float(crf, s, NULL, NULL);
@@ -4688,13 +4688,13 @@
     mpf_prec_for_double = float_format(mpf_min_prec);
 
     print_flags.rational_base = 10;
-    print_flags.rational_readably = cl_false;
-    print_flags.float_readably = cl_false;
-    print_flags.complex_readably = cl_false;
+    print_flags.rational_readably = false;
+    print_flags.float_readably = false;
+    print_flags.complex_readably = false;
 
     // Set the underflow inhibit flag to avoid aborts which cannot be caught
     // and still continue running.
-    cl_inhibit_floating_point_underflow = cl_true;
+    cl_inhibit_floating_point_underflow = true;
 
     PyObject *m = Py_InitModule3("clnum", clnum_methods, clnum_doc);
     if (m == NULL)