csinh test bug
Andreas Schwab
schwab@suse.de
Tue Apr 10 12:48:00 GMT 2001
The standard says that csinh(x + iNaN) _optionally_ raises the invalid
exception.
Andreas.
2001-04-10 Andreas Schwab <schwab@suse.de>
* math/libm-test.inc (csinh_test): Don't require the invalid
exception for csinh (x + iNaN), but make it optional.
--- math/libm-test.inc.~1.27.~ Tue Feb 20 09:31:50 2001
+++ math/libm-test.inc Tue Apr 10 21:30:23 2001
@@ -2087,8 +2087,8 @@
TEST_c_c (csinh, plus_infty, nan_value, plus_infty, nan_value, IGNORE_ZERO_INF_SIGN);
TEST_c_c (csinh, minus_infty, nan_value, plus_infty, nan_value, IGNORE_ZERO_INF_SIGN);
- TEST_c_c (csinh, 9.0, nan_value, nan_value, nan_value, INVALID_EXCEPTION);
- TEST_c_c (csinh, -9.0, nan_value, nan_value, nan_value, INVALID_EXCEPTION);
+ TEST_c_c (csinh, 9.0, nan_value, nan_value, nan_value, INVALID_EXCEPTION_OK);
+ TEST_c_c (csinh, -9.0, nan_value, nan_value, nan_value, INVALID_EXCEPTION_OK);
TEST_c_c (csinh, nan_value, 0.0, nan_value, 0.0);
TEST_c_c (csinh, nan_value, minus_zero, nan_value, minus_zero);
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
More information about the Libc-hacker
mailing list