aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-03-31 14:56:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-03-31 14:56:37 +0000
commit54fa2475d37b9c7afd903eb970362e50ec76f01e (patch)
tree7edfc5402ad7ae934fb27a9b132aaa7950d92262 /NEWS
parent757d9dd5c3efa56fac75965abc014faaae7b7895 (diff)
downloadglibc-54fa2475d37b9c7afd903eb970362e50ec76f01e.zip
glibc-54fa2475d37b9c7afd903eb970362e50ec76f01e.tar.gz
glibc-54fa2475d37b9c7afd903eb970362e50ec76f01e.tar.bz2
Set errno for atan2 underflow (bug 16349).
This patch fixes bug 16349, missing errno setting for atan2 underflow, by adding appropriate checks to the existing wrappers. (As in other cases, the __kernel_standard support for calling matherr is considered to be for existing code expecting existing rules for what's considered an error, even if those don't correspond to a general logical scheme for what counts as what kind of error, so __set_errno calls are added directly without any changes to __kernel_standard.) Tested x86_64 and x86. [BZ #16349] * math/w_atan2.c: Include <errno.h>. (__atan2): Set errno for result underflowing to zero. * math/w_atan2f.c: Include <errno.h>. (__atan2f): Set errno for result underflowing to zero. * math/w_atan2l.c: Include <errno.h>. (__atan2l): Set errno for result underflowing to zero. * math/auto-libm-test-in: Don't allow missing errno for some atan2 tests. * math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index f0560e3..06d137a 100644
--- a/NEWS
+++ b/NEWS
@@ -9,11 +9,11 @@ Version 2.20
* The following bugs are resolved with this release:
- 15347, 15804, 15894, 16002, 16198, 16284, 16348, 16357, 16362, 16447,
- 16532, 16545, 16574, 16599, 16600, 16609, 16610, 16611, 16613, 16623,
- 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, 16680,
- 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714, 16731,
- 16743, 16758, 16759, 16760, 16770.
+ 15347, 15804, 15894, 16002, 16198, 16284, 16348, 16349, 16357, 16362,
+ 16447, 16532, 16545, 16574, 16599, 16600, 16609, 16610, 16611, 16613,
+ 16623, 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677,
+ 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714,
+ 16731, 16743, 16758, 16759, 16760, 16770.
* Running the testsuite no longer terminates as soon as a test fails.
Instead, a file tests.sum (xtests.sum from "make xcheck") is generated,