summaryrefslogtreecommitdiff
path: root/tests/cos.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/cos.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/cos.dat')
-rw-r--r--tests/cos.dat6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cos.dat b/tests/cos.dat
index 9f945d8..328fa5c 100644
--- a/tests/cos.dat
+++ b/tests/cos.dat
@@ -1,6 +1,6 @@
# Data file for mpc_cos.
#
-# Copyright (C) 2008 Andreas Enge, Philippe Th\'eveny
+# Copyright (C) 2008, 2010 Andreas Enge, Philippe Th\'eveny, Paul Zimmermann
#
# This file is part of the MPC Library.
#
@@ -81,3 +81,7 @@
# IEEE-754 double precision
+ 0 53 514 53 -0 53 +0 53 0x1BBDD1808C59A3p-50 N N
- 0 53 0x100FFFFFFFFFFFp-43 53 -0 53 +0 53 0x1BBDD1808C59A3p-50 D D
+
+# huge values
+- - 53 -0x6BDC6FC28ECCFp+1382929182463901 53 0x1B3D2262519185p+1382929182463898 53 0x4580CBF242683p-3 53 -0x1B3E8A3660D279p-3 N N
++ - 53 0x8224C1BA822EBp+220500009017537 53 0x1E93F3BD9226D7p+220500009017533 53 -0x1B3E8A3660D279p-3 53 0x4580CBF242683p-3 N N