Fix loss of precision in jn tests

(cherry picked from commit cfdc0dd7fa)
This commit is contained in:
Andreas Schwab 2012-02-07 15:14:47 +01:00 committed by Carlos O'Donell
parent 08e83d36e7
commit 4904c344f1
2 changed files with 13 additions and 9 deletions

View File

@ -3,6 +3,10 @@
[BZ #411]
* sysdeps/unix/sysv/linux/i386/sysdep.h: Redefine __i686.
2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
* math/libm-test.inc (jn_test): Add missing L suffix.
2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
* sysdeps/i386/fpu/feupdateenv.c (__feupdateenv) Invoke __feraiseexcept

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997-2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
/* Copyright (C) 1997-2006, 2007, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1997.
@ -3286,14 +3286,14 @@ jn_test (void)
TEST_ff_f (jn, 10, 10.0, 0.207486106633358857697278723518753428L);
/* BZ #11589 .*/
TEST_ff_f (jn, 2, 2.4048255576957729, 0.43175480701968038399746111312430703L);
TEST_ff_f (jn, 3, 2.4048255576957729, 0.19899990535769083404042146764530813L);
TEST_ff_f (jn, 4, 2.4048255576957729, 0.647466661641779720084932282551219891E-1L);
TEST_ff_f (jn, 5, 2.4048255576957729, 0.163892432048058525099230549946147698E-1L);
TEST_ff_f (jn, 6, 2.4048255576957729, 0.34048184720278336646673682895929161E-2L);
TEST_ff_f (jn, 7, 2.4048255576957729, 0.60068836573295394221291569249883076E-3L);
TEST_ff_f (jn, 8, 2.4048255576957729, 0.92165786705344923232879022467054148E-4L);
TEST_ff_f (jn, 9, 2.4048255576957729, 0.12517270977961513005428966643852564E-4L)
TEST_ff_f (jn, 2, 2.4048255576957729L, 0.43175480701968038399746111312430703L);
TEST_ff_f (jn, 3, 2.4048255576957729L, 0.19899990535769083404042146764530813L);
TEST_ff_f (jn, 4, 2.4048255576957729L, 0.647466661641779720084932282551219891E-1L);
TEST_ff_f (jn, 5, 2.4048255576957729L, 0.163892432048058525099230549946147698E-1L);
TEST_ff_f (jn, 6, 2.4048255576957729L, 0.34048184720278336646673682895929161E-2L);
TEST_ff_f (jn, 7, 2.4048255576957729L, 0.60068836573295394221291569249883076E-3L);
TEST_ff_f (jn, 8, 2.4048255576957729L, 0.92165786705344923232879022467054148E-4L);
TEST_ff_f (jn, 9, 2.4048255576957729L, 0.12517270977961513005428966643852564E-4L)
END (jn);
}