mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
* math/libm-test.inc (atan2_test): Add more testcases.
This commit is contained in:
parent
27cffd27d7
commit
8c4b05d02f
@ -1,5 +1,7 @@
|
||||
2001-04-16 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* math/libm-test.inc (atan2_test): Add more testcases.
|
||||
|
||||
* iconv/gconv_db.c: Include gconv_charset.h for
|
||||
__gconv_lookup_alias prototype.
|
||||
|
||||
|
@ -918,8 +918,12 @@ atan2_test (void)
|
||||
TEST_ff_f (atan2, minus_infty, minus_infty, -M_PI_34l);
|
||||
TEST_ff_f (atan2, nan_value, nan_value, nan_value);
|
||||
|
||||
TEST_ff_f (atan2, 0.7L, 1, 0.6107259643892086165L);
|
||||
TEST_ff_f (atan2, 0.7L, 1.0L, 0.6107259643892086165L);
|
||||
TEST_ff_f (atan2, -0.7L, 1.0L, -0.6107259643892086165L);
|
||||
TEST_ff_f (atan2, 0.7L, -1.0L, 2.5308666892005846219L);
|
||||
TEST_ff_f (atan2, -0.7L, -1.0L, -2.5308666892005846219L);
|
||||
TEST_ff_f (atan2, 0.4L, 0.0003L, 1.5700463269355215718L);
|
||||
TEST_ff_f (atan2, 1.4L, -0.93L, 2.1571487668237843755L);
|
||||
|
||||
END (atan2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user