From 241b119df706eec5dc76bf3e63878241339f456c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 11 Feb 1998 14:49:20 +0000 Subject: Update. 1998-02-11 Andreas Jaeger * manual/memory.texi (Using the Memory Debugger): Fix typo. * math/libm-test.c (modf_test): Add one more test for modf. --- math/libm-test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'math') diff --git a/math/libm-test.c b/math/libm-test.c index 13f7cf315b..f35ef41423 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -1714,6 +1714,11 @@ modf_test (void) result = FUNC(modf) (21, &intpart); check ("modf (21, &x) returns 0", result, 0); check ("modf (21, &x) sets x to 21", intpart, 21); + + result = FUNC(modf) (89.6, &intpart); + check_eps ("modf (89.6, &x) returns 0.6", result, 0.6, + CHOOSE(6e-15L, 6e-15, 2e-6)); + check ("modf (89.6, &x) sets x to 89", intpart, 89); } -- cgit v1.2.3-70-g09d2