summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 10:43:26 +0200
committerraveit65 <[email protected]>2020-08-04 12:21:46 +0200
commite24a290f9d1461c784cccb7a4ae372fe1cda5b69 (patch)
tree265865e77c1be7e4833c3c11ca4bafbec10110de
parentf649f841b919cf2fa5c40f7d8b1bf1dd61300a81 (diff)
downloadmate-calc-e24a290f9d1461c784cccb7a4ae372fe1cda5b69.tar.bz2
mate-calc-e24a290f9d1461c784cccb7a4ae372fe1cda5b69.tar.xz
mp-convert: Remove trailing spaces/tabs
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
-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