diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-10-31 17:18:12 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-10-31 17:18:12 +0000 |
commit | 837911e3e061fc84dc0f4b06eb3b037b270c9b96 (patch) | |
tree | 8f6e15f84a101201e3c14615ddc0eef3c5f90307 /tests/tmul.c | |
parent | 58569080d8c48bd49b1695f547c7c02fe9796084 (diff) | |
download | mpc-837911e3e061fc84dc0f4b06eb3b037b270c9b96.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://scm.gforge.inria.fr/svn/mpc/trunk@276 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r-- | tests/tmul.c | 5 |
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 (); |