diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-07-05 13:32:55 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-07-05 13:32:55 +0000 |
commit | f792dea07124c387136acf68582c0d40e124b059 (patch) | |
tree | 40b21f20f24379356f88bfb1a1cfc790118fa8db /tests | |
parent | 6c232ed18dccb312ce7a402544cb2c31b84efd18 (diff) | |
download | mpfr-f792dea07124c387136acf68582c0d40e124b059.tar.gz |
modified one test to avoid rounding from double input routines
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@294 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/texp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/texp.c b/tests/texp.c index 8a5ea9160..544ba2dbf 100644 --- a/tests/texp.c +++ b/tests/texp.c @@ -191,7 +191,8 @@ main(int argc, char **argv) /* +45 ulp, wrong side */ check3(-2.41175390197331687148e+01, 3, 3.3564940885530624592e-11);/*-45 ulp*/ check3(2.46363885231578088053e+01, 2, 5.0055014282693267822e10); /* +45 ulp*/ - check3(1.11126353108009098491e+02, 0, 1.8262572323517295459e48); /*-73 ulp*/ + d=7819821913254249.0; d /= 70368744177664.0; + check3(d, GMP_RNDN, 1.8262572323517295459e48); /*-73 ulp*/ check3(-3.56196340354684821250e+02, 0, 2.0225297096141478156e-155); /*+352 */ check3(6.59678273772710895173e+02, 2, 3.1234469273830195529e286); /* +459 */ check3(5.13772529701934331570e+02, 3, 1.3445427121297197752e223); /* -469 */ |