1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-02 16:01:20 +03:00

Fix missing underflow from cexp (bug 14478).

This commit is contained in:
Joseph Myers
2013-04-03 16:51:46 +00:00
parent 5b535ac419
commit 05e166c887
6 changed files with 52 additions and 4 deletions

View File

@@ -4794,6 +4794,9 @@ cexp_test (void)
TEST_c_c (cexp, 1e6, min_value, plus_infty, plus_infty, OVERFLOW_EXCEPTION);
TEST_c_c (cexp, 1e6, -min_value, plus_infty, minus_infty, OVERFLOW_EXCEPTION);
TEST_c_c (cexp, min_value, min_subnorm_value, 1.0, min_subnorm_value, UNDERFLOW_EXCEPTION);
TEST_c_c (cexp, min_value, -min_subnorm_value, 1.0, -min_subnorm_value, UNDERFLOW_EXCEPTION);
END (cexp, complex);
}