summaryrefslogtreecommitdiff
path: root/tests/tsqrt.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-10-20 13:06:11 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-10-20 13:06:11 +0000
commit803171986e7e8cc30423219f5967dd6fef2f352f (patch)
treeb9ae96010d2a69675e1f4747237142774b58d3fe /tests/tsqrt.c
parent66506d6e35fcaec5f4a6d7d1d66e0a5de9f1b4e8 (diff)
downloadmpfr-803171986e7e8cc30423219f5967dd6fef2f352f.tar.gz
added one test
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@401 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r--tests/tsqrt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index c1e205de0..16df856b3 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -137,9 +137,10 @@ int main()
a=1190456976439861.0;
check3(a, GMP_RNDZ, dbl(4630914205854029.0,-27));
check3(1024.0*a, GMP_RNDZ, dbl(4630914205854029.0,-22));
- /* the following example is a bug in Cygnus compiler/system, found by
+ /* the following examples are bugs in Cygnus compiler/system, found by
Fabrice Rouillier while porting mpfr to Windows */
check3(9.89438396044940256501e-134, GMP_RNDU, 3.14553397063986684729e-67);
+ check3(7.86528588050363751914e+31, GMP_RNDZ, 8.86864469944739400000e+15);
for (i=0;i<100000;i++) {
a = drand();
check(a, rand() % 4);