diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-07 15:14:47 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-07 15:20:37 +0100 |
commit | cfdc0dd7fa4616e1c948760bf7dd7b3eddd6a53b (patch) | |
tree | c5e917813d2aeef4e3ada985c8332f839661a50a | |
parent | 622c86f48086403c889a2a16f2f09badde0eac7d (diff) | |
download | glibc-cfdc0dd7fa4616e1c948760bf7dd7b3eddd6a53b.zip glibc-cfdc0dd7fa4616e1c948760bf7dd7b3eddd6a53b.tar.gz glibc-cfdc0dd7fa4616e1c948760bf7dd7b3eddd6a53b.tar.bz2 |
Fix loss of precision in jn tests
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | math/libm-test.inc | 18 |
2 files changed, 13 insertions, 9 deletions
@@ -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. diff --git a/math/libm-test.inc b/math/libm-test.inc index 2843997..2c739fa 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -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); } |