All pastes #94855 Raw Edit

Anonymous

public text v1 · immutable
#94855 ·published 2006-07-21 16:04 UTC
rendered paste body
--- src/gen.cc.orig     2006-06-25 03:31:25.000000000 +0200
+++ src/gen.cc  2006-06-25 03:34:15.000000000 +0200
@@ -5862,7 +5862,7 @@
     real_object r;
     mpfr_set_prec(r.inf,precision);
     // MPFR 2.2
-    mpfr_strtofr (r.inf, (char *)s.c_str(), 0, 2, GMP_RNDN);
+    mpfr_set_str_raw(r.inf,(char *)s.c_str());
     // FOR MPFR 2.0 use instead mpfr_set_str_raw(r.inf,(char *)s.c_str());
     return r;
     setsizeerr("MPFR error reading binary "+s);