summaryrefslogtreecommitdiff
path: root/set_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 /set_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 'set_d.c')
-rw-r--r--set_d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/set_d.c b/set_d.c
index dee113d60..493c845fe 100644
--- a/set_d.c
+++ b/set_d.c
@@ -169,12 +169,12 @@ mpfr_set_d (mpfr_ptr r, double d, mp_rnd_t rnd_mode)
else
MPFR_SET_POS(r);
#else /* _GMP_IEEE_FLOATS */
- MPFR_SET_ZERO(r);
+ MPFR_SET_ZERO(r);
{
/* This is to get the sign of zero on non-IEEE hardware
Some systems support +0.0, -0.0 and unsigned zero.
We can't use d==+0.0 since it should be always true,
- so we check that the memory representation of d is the
+ so we check that the memory representation of d is the
same than +0.0. etc */
double poszero = +0.0, negzero = -0.0;
if (memcmp(&d, &poszero, sizeof(double)) == 0)
@@ -188,7 +188,7 @@ mpfr_set_d (mpfr_ptr r, double d, mp_rnd_t rnd_mode)
return 0; /* 0 is exact */
}
else if (MPFR_UNLIKELY(DOUBLE_ISINF(d)))
- {
+ {
MPFR_SET_INF(r);
if (d > 0)
MPFR_SET_POS(r);