diff options
Diffstat (limited to 'pl/math/atan2_2u5.c')
-rw-r--r-- | pl/math/atan2_2u5.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pl/math/atan2_2u5.c b/pl/math/atan2_2u5.c index fb5ced4..ba39d9a 100644 --- a/pl/math/atan2_2u5.c +++ b/pl/math/atan2_2u5.c @@ -152,3 +152,8 @@ atan2 (double y, double x) /* Arity of 2 means no mathbench entry emitted. See test/mathbench_funcs.h. */ PL_SIG (S, D, 2, atan2) PL_TEST_ULP (atan2, 1.78) +PL_TEST_INTERVAL (atan2, -10.0, 10.0, 50000) +PL_TEST_INTERVAL (atan2, -1.0, 1.0, 40000) +PL_TEST_INTERVAL (atan2, 0.0, 1.0, 40000) +PL_TEST_INTERVAL (atan2, 1.0, 100.0, 40000) +PL_TEST_INTERVAL (atan2, 1e6, 1e32, 40000) |