summaryrefslogtreecommitdiff
path: root/src/mp-convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp-convert.c')
-rw-r--r--src/mp-convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mp-convert.c b/src/mp-convert.c
index 1770853..ef1a770 100644
--- a/src/mp-convert.c
+++ b/src/mp-convert.c
@@ -104,13 +104,13 @@ mp_to_unsigned_integer(const MPNumber *x)
float
mp_to_float(const MPNumber *x)
{
- return mpfr_get_flt(mpc_realref(x->num), MPFR_RNDN);
+ return mpfr_get_flt(mpc_realref(x->num), MPFR_RNDN);
}
double
mp_to_double(const MPNumber *x)
{
- return mpfr_get_d(mpc_realref(x->num), MPFR_RNDN);
+ return mpfr_get_d(mpc_realref(x->num), MPFR_RNDN);
}
static int