diff options
author | Petr Baudis <pasky@suse.cz> | 2011-09-09 22:16:10 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-09 22:16:10 -0400 |
commit | 1248c1c41508387ff282b208636737e8cdc9b5b0 (patch) | |
tree | f2de6f410de805293483964814aa29efefbe8daa /math/libm-test.inc | |
parent | f19009c1551a396ee8eff96a83254243ce25a090 (diff) | |
download | glibc-1248c1c41508387ff282b208636737e8cdc9b5b0.tar.gz glibc-1248c1c41508387ff282b208636737e8cdc9b5b0.tar.xz glibc-1248c1c41508387ff282b208636737e8cdc9b5b0.zip |
Fix jn precision
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 301d4a8f66..70d936c0b0 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2006, 2007, 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 1997-2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 1997. @@ -3285,6 +3285,16 @@ jn_test (void) TEST_ff_f (jn, 10, 2.0, 0.251538628271673670963516093751820639e-6L); 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) + END (jn); } |