summaryrefslogtreecommitdiff
path: root/tests/tdiv.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-11-25 10:37:43 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-11-25 10:37:43 +0000
commitcef86cfdc1676348d955aa90a5365b6f30b2c1c0 (patch)
treec3964dbb85351e9127e100af77bdf53ccf3b0ca6 /tests/tdiv.c
parent518c2edaac8cb5cc9cc3e43fb640af79db040cb8 (diff)
downloadmpfr-cef86cfdc1676348d955aa90a5365b6f30b2c1c0.tar.gz
added 3 tests that make libm fail under HP-PA
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2086 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tdiv.c')
-rw-r--r--tests/tdiv.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c
index 8b6b79378..04090c9d4 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -493,6 +493,13 @@ main (int argc, char *argv[])
-4.0250194961676020848e-258);
check53(1.04636807108079349236e-189, 3.72295730823253012954e-292, GMP_RNDZ,
2.810583051186143125e102);
+ /* problems found by Kevin under HP-PA */
+ check53 (2.861044553323177e-136, -1.1120354257068143e+45, GMP_RNDZ,
+ -2.5727998292003016e-181);
+ check53 (-4.0559157245809205e-127, -1.1237723844524865e+77, GMP_RNDN,
+ 3.6091968273068081e-204);
+ check53 (-1.8177943561493235e-93, -8.51233984260364e-104, GMP_RNDU,
+ 2.1354814184595821e+10);
#ifdef MPFR_HAVE_FESETROUND
N = (argc>1) ? atoi(argv[1]) : 100000;