diff options
Diffstat (limited to 'src/get_ld.c')
-rw-r--r-- | src/get_ld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/get_ld.c b/src/get_ld.c index 978486ed6..cff0453d9 100644 --- a/src/get_ld.c +++ b/src/get_ld.c @@ -36,11 +36,11 @@ mpfr_get_ld (mpfr_srcptr x, mpfr_rnd_t rnd_mode) #elif defined(HAVE_LDOUBLE_IEEE_EXT_LITTLE) -/* FIXME: This code assumes that a 64-bit precision is available while - the processor may be configured to round on 53 bits or less. This - yields a failure in tset_ld on NetBSD 5.1 (the test is correct). - Warning! This also has an effect on subnormals: the last 11 bits - must still be 0. */ +/* Note: The code will return a result with a 64-bit precision, even + if the rounding precision is only 53 bits like on FreeBSD and + NetBSD 6- (or with GCC's -mpc64 option to simulate this on other + platforms). This is consistent with how strtold behaves in these + cases, for instance. */ /* special code for IEEE 754 little-endian extended format */ long double |