Browse Source

Add examples of unary operators.

Originally committed as revision 25624 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini 14 years ago
parent
commit
8bb12e71af
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libavutil/eval.c

+ 3 - 0
libavutil/eval.c

@@ -535,6 +535,9 @@ int main(void)
     const char **expr, *exprs[] = {
         "",
         "1;2",
+        "-20",
+        "-PI",
+        "+PI",
         "1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)",
         "80G/80Gi"
         "1k",