Fix loss of precision in jn tests

This commit is contained in:
Andreas Schwab 2012-02-07 15:14:47 +01:00
parent 622c86f480
commit cfdc0dd7fa
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
* math/libm-test.inc (jn_test): Add missing L suffix.
2012-02-06 Marek Polacek <polacek@redhat.com>
* sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.

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);
}