summaryrefslogtreecommitdiff
path: root/cmp_d.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-18 17:03:17 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-18 17:03:17 +0000
commitd8782b82c961338b15ef888f0bc152566644a964 (patch)
tree6972f3706c8251eb2b814fb636519519b73bb1f5 /cmp_d.c
parentbab5aab404897a12fe1c87734ebf2aa270b9b73b (diff)
downloadmpfr-d8782b82c961338b15ef888f0bc152566644a964.tar.gz
Removed trailing spaces (better for future patches, as such spaces
are sometimes stripped). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
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;
}