From 8b0ccb2d7fd1ec646a622a16bd64e356739ffca3 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Mon, 3 Jun 2013 14:49:48 -0400 Subject: BZ #15536: Fix ulp for 128-bit IBM long double. In 128-bit IBM long double the precision of the type decreases as you approach subnormal numbers, equaling that of a double for subnormal numbers. Therefore adjust the computation in ulp to use 2^(MIN_EXP - MANT_DIG) which is correct for FP_SUBNORMAL for all types. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5f2e4c61eb..91a183ad84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-06-03 Carlos O'Donell + + [BZ #15536] + * math/libm-test.inc (MAX_EXP): Remove + (MIN_EXP): Define. + (ulp): Use MIN_EXP - MANT_DIG. + (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp. + 2013-05-31 Carlos O'Donell * po/be.po: Revert last change. -- cgit v1.2.3