From 0b87419b690d1711697ed95808527400910ff997 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 15 Sep 2015 17:46:08 +0000 Subject: Fix ctan, ctanh missing underflows (bug 18595). Similar to various other bugs in this area, ctan and ctanh can fail to raise the underflow exception for some cases of results that are tiny and inexact. This patch forces the exception in a similar way to previous fixes. Tested for x86_64 and x86. [BZ #18595] * math/s_ctan.c (__ctan): Force underflow exception for results whose real or imaginary part has small absolute value. * math/s_ctanf.c (__ctanf): Likewise. * math/s_ctanh.c (__ctanh): Likewise. * math/s_ctanhf.c (__ctanhf): Likewise. * math/s_ctanhl.c (__ctanhl): Likewise. * math/s_ctanl.c (__ctanl): Likewise. * math/auto-libm-test-in: Do not allow missing underflow for ctan and ctanh. Add more tests of ctan and ctanh. --- NEWS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a09ba38f73..797d717fb4 100644 --- a/NEWS +++ b/NEWS @@ -11,10 +11,10 @@ Version 2.23 2542, 2543, 2558, 2898, 14341, 14912, 15786, 15918, 16141, 16517, 16519, 16520, 16521, 16734, 16973, 16985, 17787, 17905, 18084, 18086, 18240, - 18265, 18370, 18421, 18480, 18525, 18610, 18618, 18647, 18661, 18674, - 18675, 18681, 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796, - 18820, 18823, 18824, 18863, 18870, 18873, 18875, 18887, 18921, 18952, - 18961, 18966. + 18265, 18370, 18421, 18480, 18525, 18595, 18610, 18618, 18647, 18661, + 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789, 18790, 18795, + 18796, 18820, 18823, 18824, 18863, 18870, 18873, 18875, 18887, 18921, + 18952, 18961, 18966. * The obsolete header has been removed. Programs that require this header must be updated to use instead. -- cgit v1.2.3