diff options
author | Marek Polacek <polacek@redhat.com> | 2012-07-25 12:59:36 +0200 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-07-25 12:59:36 +0200 |
commit | 354691b7b55d014b9a4d3a94e2f8f934870b6bff (patch) | |
tree | ae16c6123f84e091b5865bf4d8934ceaaad66bc9 /math/libm-test.inc | |
parent | bf9e20711e4f3905b2bbcceab2b339b50c7097dd (diff) | |
download | glibc-354691b7b55d014b9a4d3a94e2f8f934870b6bff.zip glibc-354691b7b55d014b9a4d3a94e2f8f934870b6bff.tar.gz glibc-354691b7b55d014b9a4d3a94e2f8f934870b6bff.tar.bz2 |
Set up errno properly for yn.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 25a8f41..60abf0e 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -9019,6 +9019,10 @@ yn_test (void) and FLT_MIN. See Bug 14173. */ TEST_ff_f (yn, 10, min_value, minus_infty, OVERFLOW_EXCEPTION); + errno = 0; + TEST_ff_f (yn, 10, min_value, minus_infty, OVERFLOW_EXCEPTION); + check_int ("errno for yn(10,-min) == ERANGE", errno, ERANGE, 0, 0, 0); + END (yn); } |