summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2013-06-03 14:49:48 -0400
committerCarlos O'Donell <carlos@redhat.com>2013-06-03 14:49:48 -0400
commit8b0ccb2d7fd1ec646a622a16bd64e356739ffca3 (patch)
treeb7500d0f98c33e9fa91366fc95ef456eff692d15 /ChangeLog
parent3b3c4d40c18e0e340c68a02487014d0001211382 (diff)
downloadglibc-8b0ccb2d7fd1ec646a622a16bd64e356739ffca3.tar.gz
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f2e4c61eb..91a183ad84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-06-03 Carlos O'Donell <carlos@redhat.com>
+
+ [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 <carlos@redhat.com>
* po/be.po: Revert last change.