diff options
author | bdadoun <bdadoun@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-06-27 09:43:45 +0000 |
---|---|---|
committer | bdadoun <bdadoun@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-06-27 09:43:45 +0000 |
commit | 890ca61e61e9c88d5d09b13a9520aca8b877aabe (patch) | |
tree | 7784efe7cb0838fc73ff81f38e57198ebf959036 /tests | |
parent | 1ace7ef7036d504a2097dd383db341dbdd48278f (diff) | |
download | mpc-890ca61e61e9c88d5d09b13a9520aca8b877aabe.tar.gz |
[tests/pow.dat] added test for (-1)^(1/2) = i (Benjamin Dadoun)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1184 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pow.dat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pow.dat b/tests/pow.dat index 9d14b5d..15eab18 100644 --- a/tests/pow.dat +++ b/tests/pow.dat @@ -384,6 +384,8 @@ + 0 53 +0x1620227B598EF9p-57 53 0 53 -0 53 -1 53 +0 53 -2 N N # exact cases +# (-1)^(1/2) = i +0 0 2 0 2 1 2 -1 2 0 2 0x1p-1 2 0 N N # (-4)^(1/4) = 1+i 0 0 2 1 2 1 2 -4 2 0 2 0x1p-2 2 0 N N # for an odd positive integer n, a positive integer m and an integer e: |