From 469bdc80712dbf9c12562059dc4594620b59a076 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Wed, 7 Oct 2015 12:51:41 +0000 Subject: Support MPFR floats in numkondo Remove '-D' option (error tolerance) in numkondo --- src/number.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/number.h') diff --git a/src/number.h b/src/number.h index 4095f9c..a33d425 100644 --- a/src/number.h +++ b/src/number.h @@ -98,6 +98,8 @@ int number_is_zero(Number x); // approximate numerical expression long double number_double_val(Number x); +// approximate numerical expression (as mpfr float) +int number_mpfr_val(mpfr_t out, Number x); // print to string int number_sprint(Number number, Char_Array* out); -- cgit v1.2.3-70-g09d2