summaryrefslogtreecommitdiff
path: root/tests/pow_ui.dat
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-02-23 16:49:54 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-02-23 16:49:54 +0000
commite9a3bae93a583e1b186c5d9d0b70afff8aaa9d6e (patch)
tree7404717821416f15dd5ef844667ac2be560ebcdb /tests/pow_ui.dat
parentf357e51014e20e5a165c38879f4ecd354db2c3af (diff)
downloadmpc-e9a3bae93a583e1b186c5d9d0b70afff8aaa9d6e.tar.gz
pow_ui.dat: improved test coverage
tpow_si.c, pow_si.dat: added test file git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@954 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/pow_ui.dat')
-rw-r--r--tests/pow_ui.dat6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/pow_ui.dat b/tests/pow_ui.dat
index e961051..7143818 100644
--- a/tests/pow_ui.dat
+++ b/tests/pow_ui.dat
@@ -1,6 +1,6 @@
# Data file for mpc_pow_ui.
#
-# Copyright (C) INRIA, 2010
+# Copyright (C) INRIA, 2010, 2011
#
# This file is part of the MPC Library.
#
@@ -95,3 +95,7 @@
? ? 420 -0x1.c3fb41a71665f9a144927e70cbc2dc899e9e30880c0b5aa924ad8a538b4cd06e503f38bdbb7cfcfded29f7504fe0c91ecd4230984@-187 420 -0xc.82a09ac98133eb05b2643c98eb1c8e1a1609e75f682b14098176abd6c8b4b3c6c72dadaf8929f9bd87f8c78d03361bacb9fb13140@-292 420 0x1.cf13ce58adc4e639fd1c3063ffc9291433647999951bc04ba6797ec4de0335336ad0a28df18573d3b6322ebab662c08eadaed4a8e@-8 420 0x3.cf71d602ca6f754ebd6af522154f3ee1c46da0a52deb1f60016fca4b1e0b4b447b752169e837bb1866aa3734850cd158a7e3ca33c@-9 24 N N
# exact result
0 0 5 -9 5 46 5 3 5 2 3 D U
+
+# special cases with exponents 1 and 2
+0 0 53 3 53 4 53 3 53 4 1 N N
+0 0 53 -7 53 24 53 3 53 4 2 N N