summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-04-17 12:41:51 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-04-17 12:41:51 +0000
commit8eff23b2d1db6ac0c7153a811a88c2f7e78d1144 (patch)
treec5d275770a42df5f5e3ec3c4d07f21fa2c596dfd /tests
parent7f35c3da55dba20f38728e50ebd6c3feb268ba32 (diff)
downloadmpc-8eff23b2d1db6ac0c7153a811a88c2f7e78d1144.tar.gz
[src/log10.c] fixed infinite loop when x^2+y^2 equals a power of ten,
for example x=3 and y=1 (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-April/001096.html) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1153 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests')
-rw-r--r--tests/log10.dat3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/log10.dat b/tests/log10.dat
index acd24dd..fe49e28 100644
--- a/tests/log10.dat
+++ b/tests/log10.dat
@@ -170,3 +170,6 @@
# instead of the correct result. Since this may happen in other parts of the
# library as well, we do not consider it a bug for the moment.
# + + 53 0x13441350ec8a4dp-25 2 0x3p-3 2 0x1p536870912 2 0x1p536870912 U U
+
+# log10(3+I) has an exact real part (from Joseph S. Myers)
+0 + 53 0.5 53 0x8f168ee8415e7p-54 2 3 2 1 N N