Mercurial > libavcodec.hg
comparison eval.c @ 11805:0448680fa221 libavcodec
Fix eval-test compilation.
author | stefano |
---|---|
date | Tue, 01 Jun 2010 08:07:21 +0000 |
parents | 3dc6ee95d63a |
children |
comparison
equal
deleted
inserted
replaced
11804:3dc6ee95d63a | 11805:0448680fa221 |
---|---|
530 const_names, const_values, | 530 const_names, const_values, |
531 NULL, NULL, NULL, NULL, NULL, 0, NULL); | 531 NULL, NULL, NULL, NULL, NULL, 0, NULL); |
532 printf("%f == 12.7\n", d); | 532 printf("%f == 12.7\n", d); |
533 ff_parse_and_eval_expr(&d, "80G/80Gi", | 533 ff_parse_and_eval_expr(&d, "80G/80Gi", |
534 const_names, const_values, | 534 const_names, const_values, |
535 NULL, NULL, NULL, NULL, NULL, NULL); | 535 NULL, NULL, NULL, NULL, NULL, 0, NULL); |
536 printf("%f == 0.931322575\n", d); | 536 printf("%f == 0.931322575\n", d); |
537 | 537 |
538 for (i=0; i<1050; i++) { | 538 for (i=0; i<1050; i++) { |
539 START_TIMER | 539 START_TIMER |
540 ff_parse_and_eval_expr(&d, "1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", | 540 ff_parse_and_eval_expr(&d, "1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", |