diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-28 10:31:03 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-28 10:31:03 +0000 |
commit | 307b49227ec2fe81c3677b7bfb4643e84256306e (patch) | |
tree | 9ef6f85d4499c09f2348d2cd3cff9b6560d245aa /tests/tsinh.c | |
parent | e801bd135f4cf1b510d4e2bb2e7daf83e17cda50 (diff) | |
download | mpc-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/tsinh.c')
-rw-r--r-- | tests/tsinh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tsinh.c b/tests/tsinh.c index 67eafdb..1dc33d6 100644 --- a/tests/tsinh.c +++ b/tests/tsinh.c @@ -28,6 +28,8 @@ main (void) test_start (); + mpfr_set_emin (mpfr_get_emin_min ()); + mpfr_set_emax (mpfr_get_emax_max ()); data_check (f, "sinh.dat"); tgeneric (f, 2, 512, 7, 7); |