diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-03-01 21:04:52 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-03-01 21:04:52 +0000 |
commit | f8ae8b99391b079561af8dcf8c4f699737085e11 (patch) | |
tree | 6cd07b5a780ade83964265811cc5b971d4e35b9e /tests | |
parent | 14972ae1e79d3bc1fcc32f1f1f88cba3c931dadb (diff) | |
download | mpc-f8ae8b99391b079561af8dcf8c4f699737085e11.tar.gz |
sqr: rewrite of naive multiplication, reusing mpfr_fmma function from mul
to handle over-/underflow independently of emax/emin
(needs further unification)
sqr.dat: added tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1132 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sqr.dat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sqr.dat b/tests/sqr.dat index 85195db..ee59b0e 100644 --- a/tests/sqr.dat +++ b/tests/sqr.dat @@ -159,3 +159,7 @@ - - 100 -inf 100 -inf 593 -0xf@192058806 593 0x1@192058873 N N # another interesting one with not exactly the same behaviour - - 100 -inf 100 -inf 100 -0xf@192058806 100 0x1@192058873 N N +0 + 100 0 100 inf 100 0x1@192058806 100 0x1@192058806 N N +0 0 10 0 10 0b1e-1073741823 100 0b1@-536870912 100 0b1@-536870912 N N +0 - 10 0 10 0 100 0b1@-536870913 100 0b1@-536870913 N N +0 + 10 0 10 0b1@-1073741824 100 0b1@-536870913 100 0b1@-536870913 N U |