summaryrefslogtreecommitdiff
path: root/tests/cosh.dat
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2010-06-28 10:31:03 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2010-06-28 10:31:03 +0000
commit307b49227ec2fe81c3677b7bfb4643e84256306e (patch)
tree9ef6f85d4499c09f2348d2cd3cff9b6560d245aa /tests/cosh.dat
parente801bd135f4cf1b510d4e2bb2e7daf83e17cda50 (diff)
downloadmpc-307b49227ec2fe81c3677b7bfb4643e84256306e.tar.gz
partial fix for problems with huge exponents reported by Chris Saunders
(http://lists.gforge.inria.fr/pipermail/mpc-discuss/2010-June/000750.html) More work is needed for tan (detect when Im(result) is very near -1 or 1) and tanh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@795 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/cosh.dat')
-rw-r--r--tests/cosh.dat7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/cosh.dat b/tests/cosh.dat
index 4c7f3df..e8dc119 100644
--- a/tests/cosh.dat
+++ b/tests/cosh.dat
@@ -1,6 +1,6 @@
# Data test file for mpc_cosh.
-# Copyright (C) 2008 Paul Zimmermann
+# Copyright (C) 2008, 2010 Paul Zimmermann
# This file is part of the MPC Library.
#
@@ -128,3 +128,8 @@
0 0 2 nan 2 nan 2 nan 2 nan N N
+ + 53 0x10000000000001p-53 53 0x10000000000001p-52 53 0x1DA2E1BD2C9EBCp-53 53 0x138AADEA15829Fp-52 N N
+
+
+# huge values
++ + 53 0x8224C1BA822EBp+220500009017537 53 -0x1E93F3BD9226D7p+220500009017533 53 0x4580CBF242683p-3 53 -0x1B3E8A3660D279p-3 N N
+- + 53 -0x6BDC6FC28ECCFp+1382929182463901 53 -0x1B3D2262519185p+1382929182463898 53 -0x1B3E8A3660D279p-3 53 0x4580CBF242683p-3 N N