diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-10-31 17:10:40 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-10-31 17:10:40 +0000 |
commit | 58569080d8c48bd49b1695f547c7c02fe9796084 (patch) | |
tree | 7d17bbb7682b124b168732c0f1ab7eb00052167d /tests/tadd.c | |
parent | 33d1d210f37534ab949f9a4f9191d9b1963f4951 (diff) | |
download | mpc-58569080d8c48bd49b1695f547c7c02fe9796084.tar.gz |
mpc-tests.h: Add a new field for function properties to struct mpc_function; add field initialization to macro DECL_XX_FUNC; add a general macro DECL_FUNC replacing DECL_XX_FUNC macros that will be removed; add an identifier FUNC_PROP_SYMETRIC.
read_data.c: Use the symetry for CCC functions (halves data set).
tadd.c: Declare mpc_add as a symetric function.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@275 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tadd.c')
-rw-r--r-- | tests/tadd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tadd.c b/tests/tadd.c index 8c5570f..615a98b 100644 --- a/tests/tadd.c +++ b/tests/tadd.c @@ -56,7 +56,8 @@ check_ternary_value (void) int main (void) { - DECL_CCC_FUNC (f, mpc_add); + DECL_FUNC (CCC, f, mpc_add); + f.properties = FUNC_PROP_SYMETRIC; test_start (); |