summaryrefslogtreecommitdiff
path: root/cmp_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmp_d.c')
-rw-r--r--cmp_d.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmp_d.c b/cmp_d.c
index 993152c2d..af0c2d171 100644
--- a/cmp_d.c
+++ b/cmp_d.c
@@ -21,17 +21,17 @@ MA 02110-1301, USA. */
#include "mpfr-impl.h"
-int
+int
mpfr_cmp_d (mpfr_srcptr b, double d)
{
- mpfr_t tmp;
- int res;
+ mpfr_t tmp;
+ int res;
mpfr_init2 (tmp, IEEE_DBL_MANT_DIG);
res = mpfr_set_d (tmp, d, GMP_RNDN);
MPFR_ASSERTD (res == 0);
- res = mpfr_cmp (b, tmp);
- mpfr_clear (tmp);
+ res = mpfr_cmp (b, tmp);
+ mpfr_clear (tmp);
- return res;
+ return res;
}