From cfdc0dd7fa4616e1c948760bf7dd7b3eddd6a53b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 7 Feb 2012 15:14:47 +0100 Subject: Fix loss of precision in jn tests --- ChangeLog | 4 ++++ math/libm-test.inc | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb83d86f55..779b9320e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-07 Andreas Schwab + + * math/libm-test.inc (jn_test): Add missing L suffix. + 2012-02-06 Marek Polacek * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals. diff --git a/math/libm-test.inc b/math/libm-test.inc index 2843997062..2c739fa650 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 , 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); } -- cgit v1.2.3