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