Fix failure in math/test-ldouble.out

Andreas Jaeger aj@suse.de
Wed Sep 20 19:00:00 GMT 2006


This fixes:

testing long double (without inline functions)
Failure: Test: lrint_upward (281474976710656.025) == 28147497671065
Result:
 is:         281474976710656
 should be:  28147497671065

Ok to commit?

Andreas

2006-09-20  Andreas Jaeger  <aj@suse.de>

	* math/libm-test.inc (lrint_test_upward): Fix typo.

============================================================
Index: math/libm-test.inc
--- math/libm-test.inc	20 Sep 2006 17:12:34 -0000	1.72
+++ math/libm-test.inc	20 Sep 2006 18:58:18 -0000
@@ -3421,7 +3421,7 @@ lrint_test_upward (void)
       TEST_f_l (lrint, 1071930.0008, 1071931);
       TEST_f_l (lrint, 1073741824.01, 1073741825);
 # if LONG_MAX > 281474976710656 && defined (TEST_LDOUBLE)
-      TEST_f_l (lrint, 281474976710656.025, 28147497671065);
+      TEST_f_l (lrint, 281474976710656.025, 281474976710656);
 # endif
 #endif
     }

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20060920/2b066f92/attachment.sig>


More information about the Libc-hacker mailing list