aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-10-29 22:09:37 +0000
committerUlrich Drepper <drepper@redhat.com>1997-10-29 22:09:37 +0000
commite99ce132ae6cacbc874135c5dcf1e36558a5f2ea (patch)
tree54ca55973b8b61412eb31b9c751293d6a2c2111d /math/libm-test.c
parentdd7d45e838a42b0ed470c44b55901ea98d0c2bab (diff)
downloadglibc-e99ce132ae6cacbc874135c5dcf1e36558a5f2ea.zip
glibc-e99ce132ae6cacbc874135c5dcf1e36558a5f2ea.tar.gz
glibc-e99ce132ae6cacbc874135c5dcf1e36558a5f2ea.tar.bz2
Relax math test.cvs/libc-ud-971029
1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299).
Diffstat (limited to 'math/libm-test.c')
-rw-r--r--math/libm-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/libm-test.c b/math/libm-test.c
index 56f111d..c80ed7d 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -1004,7 +1004,8 @@ cbrt_test (void)
check_eps ("cbrt (8) == 2", FUNC(cbrt) (8), 2, CHOOSE (5e-17L, 0, 0));
check_eps ("cbrt (-27) == -3", FUNC(cbrt) (-27.0), -3.0,
CHOOSE (3e-16L, 5e-16, 0));
- check ("cbrt (0.970299) == 0.99", FUNC(cbrt) (0.970299), 0.99);
+ check_eps ("cbrt (0.970299) == 0.99", FUNC(cbrt) (0.970299), 0.99,
+ CHOOSE (2e-17L, 0, 0));
}