This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix failure in math/test-ldouble.out


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]