summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
authorPhilippe Theveny <philippe.theveny@laposte.net>2008-10-31 17:18:12 +0000
committerPhilippe Theveny <philippe.theveny@laposte.net>2008-10-31 17:18:12 +0000
commit57975fc1ccbe15eca2793e7735ad1c2609929adf (patch)
tree8f6e15f84a101201e3c14615ddc0eef3c5f90307 /tests/tmul.c
parent6573fb37658be92b938ffe3d559217d6e371d118 (diff)
downloadmpc-git-57975fc1ccbe15eca2793e7735ad1c2609929adf.tar.gz
tests/tmul.dat: Remove unused file.
tests/mul.dat: Add data set file for mpc_mul. tests/tmul.c: Use mul.dat data file and declare mpc_mul as symetric. tests/Makefile.am: Add mul.dat. src/mul.c: Change multiplication of infinities and some signs of zero parts in results accordingly to the ISO C99 standard. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/trunk@276 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index 1516407..c355a19 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -223,7 +223,8 @@ timemul (void)
int
main (void)
{
- DECL_CCC_FUNC (f, mpc_mul);
+ DECL_FUNC (CCC, f, mpc_mul);
+ f.properties = FUNC_PROP_SYMETRIC;
test_start ();
@@ -233,6 +234,8 @@ main (void)
check_special ();
check_regular ();
+
+ data_check (f, "mul.dat");
tgeneric (f, 2, 1024, 7, 0);
test_end ();