diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-03-13 17:09:10 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-03-17 03:22:47 +0400 |
commit | b2098d2417a085d33d99738dd7f963c7b260a0bf (patch) | |
tree | 17d9adea1b9546f3607d1166dbe9e561e23ef5b6 /tests | |
parent | d8dccf69ff2df7014a2bb8e0e17828a820f45b27 (diff) |
lavu/eval: add bitor and bitand functions
Warning note suggested by Reimar.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/eval | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index 59e3fe40a4..4a8e4e3505 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -252,3 +252,12 @@ Evaluating 'gcd(30,55)*print(min(9,1))' 12.700000 == 12.7 0.931323 == 0.931322575 + +Evaluating 'bitor(42, 12)' +'bitor(42, 12)' -> 46.000000 + +Evaluating 'bitand(42, 12)' +'bitand(42, 12)' -> 8.000000 + +Evaluating 'bitand(NAN, 1)' +'bitand(NAN, 1)' -> nan |