diff options
Diffstat (limited to 'src/rational_int.h')
-rw-r--r-- | src/rational_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rational_int.h b/src/rational_int.h index a9f164d..a4dd000 100644 --- a/src/rational_int.h +++ b/src/rational_int.h @@ -49,6 +49,8 @@ long int lcm(long int x,long int 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); |