Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/rational_float.h')
-rw-r--r--src/rational_float.h2
1 files changed, 2 insertions, 0 deletions
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);