diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-21 20:25:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-22 08:13:55 +0200 |
commit | 775af761a0805b2523923636020c5aebf764af13 (patch) | |
tree | 378897c98b1cb6a6b2286da37e4f95c4a09e2d69 /libavutil | |
parent | 05fc9e40a4e4f808d457512420b887f458d216bc (diff) | |
download | ffmpeg-775af761a0805b2523923636020c5aebf764af13.tar.gz |
eval: test isnan(sqrt(-1)) instead of just sqrt(-1)
sqrt(-1) returns "some NaN", it's not specified which exactly.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 4126cd7f69..9941ed7060 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -608,7 +608,7 @@ int main(int argc, char **argv) "ceil(123.123)", "ceil(-123.123)", "sqrt(1764)", - "sqrt(-1)", + "isnan(sqrt(-1))", "not(1)", "not(NAN)", "not(0)", |