summaryrefslogtreecommitdiff
path: root/tests/pow.dat
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-06-24 12:26:29 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-06-24 12:26:29 +0000
commit7d12455a700d94c983f5ded179a45fea061bafda (patch)
treecf50b62c633ef283588c98850082f3e122afb700 /tests/pow.dat
parent8ec9875d717be2483344a3054d56915f3b1fecdc (diff)
downloadmpc-7d12455a700d94c983f5ded179a45fea061bafda.tar.gz
[pow.c] fixed hang in underflow case + fixed problem with mpc_pow_exact for
huge exponent git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@615 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/pow.dat')
-rw-r--r--tests/pow.dat6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pow.dat b/tests/pow.dat
index cffc2b9..da4f19e 100644
--- a/tests/pow.dat
+++ b/tests/pow.dat
@@ -183,3 +183,9 @@
+ 0 53 0xABCC77118461Dp-74 2 +0 3 5 3 5 2 -8 2 0 N N
+ 0 53 -0x127DB86014739Dp-93 2 +0 2 -1 2 -0 2 1 4 -9 N N
+ + 24 0xC1F98Dp-21 24 0x12FF89p-2 24 -7 24 +0 24 0xCFFFF3p-21 24 +0 N N
+# underflow case
+- - 24 +0 24 +0 24 2 24 0x44CCCDp-20 24 -0x7FFFF200 24 -0x7FFFF200 N N
+- 0 53 0x14D55AFA6E0BB0p210433620 53 0 53 +0 53 0x44CCCCFFFFFFFp-48 53 0x5F5E100 53 +0 N N
+- 0 53 0x14D55B174EE67Ep210433620 53 0 53 +0 53 0x44CCCDp-20 53 0x5F5E100 53 +0 N N
+0 0 24 -10 24 198 24 5 24 3 24 3 24 +0 N N
++ - 113 0x1731C86FF8E8C7D80C8F1C83460B7p-38951 113 0x1CE5ECB8E88C769AF45FA662568CFp-38950 113 2 113 0x11333333333333333333333333333p-110 113 -10000 113 10000 N N