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/rational_float.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rational_float.h') diff --git a/src/rational_float.h b/src/rational_float.h index 931b5ec..02c4a22 100644 --- a/src/rational_float.h +++ b/src/rational_float.h @@ -54,6 +54,8 @@ long double lcm(long double x,long double y); // approximate value as double double Q_double_value(Q q); +// approximate value as mpfr float +int Q_mpfr_value(mpfr_t out, Q q); // print to string int Q_sprint(Q num, Char_Array* out); -- cgit v1.2.3-70-g09d2