aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-07-12 16:34:47 +0200
committerMarek Polacek <polacek@redhat.com>2012-07-12 16:34:47 +0200
commit541428fecf21cdde271acbd280c53bfe5beaafe2 (patch)
treed13200f5cd7cbd3cef57ec86ebddc2e72544909e /math
parentec332e944f4503b8e0f8fd5ae63384f82e528959 (diff)
downloadglibc-541428fecf21cdde271acbd280c53bfe5beaafe2.tar
glibc-541428fecf21cdde271acbd280c53bfe5beaafe2.tar.gz
glibc-541428fecf21cdde271acbd280c53bfe5beaafe2.tar.bz2
glibc-541428fecf21cdde271acbd280c53bfe5beaafe2.zip
Fix ynl return value with LDBL_MIN.
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index a9cc2bdca4..25a8f4111d 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -9015,8 +9015,11 @@ yn_test (void)
TEST_ff_f (yn, 10, 2.0, -129184.542208039282635913145923304214L);
TEST_ff_f (yn, 10, 10.0, -0.359814152183402722051986577343560609L);
- END (yn);
+ /* Check whether yn returns correct value for LDBL_MIN, DBL_MIN,
+ and FLT_MIN. See Bug 14173. */
+ TEST_ff_f (yn, 10, min_value, minus_infty, OVERFLOW_EXCEPTION);
+ END (yn);
}