From c874d16fd2914f62c797d082c3f91a0031b1f8ca Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 26 Nov 2007 21:13:57 +0100 Subject: Don't abort if the 'long double' type has excess precision. --- lib/vasnprintf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/vasnprintf.c') diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index d6b012a4ac..f26b42be60 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -871,8 +871,11 @@ decode_long_double (long double x, int *ep, mpn_t *mp) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } +#if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess + precision. */ if (!(y == 0.0L)) abort (); +#endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; -- cgit v1.2.1