# HG changeset patch # User diego # Date 1225891926 0 # Node ID 5de6db4225d6b4d7015b836aedea2e7eaf1171cc # Parent e61f76efc9f3264182d6023953e4169434a561df Fix test program build: ff_eval was replaced by ff_eval2. diff -r e61f76efc9f3 -r 5de6db4225d6 eval.c --- a/eval.c Tue Nov 04 18:31:48 2008 +0000 +++ b/eval.c Wed Nov 05 13:32:06 2008 +0000 @@ -438,13 +438,13 @@ }; int main(void){ int i; - printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); - printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); + printf("%f == 12.7\n", ff_eval2("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL)); + printf("%f == 0.931322575\n", ff_eval2("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL)); for(i=0; i<1050; i++){ START_TIMER - ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL); - STOP_TIMER("ff_eval") + ff_eval2("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL); + STOP_TIMER("ff_eval2") } return 0; }