diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-10-13 13:24:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-13 16:50:20 +0200 |
commit | 40963ea9e9f8fbc178673c963f1d9662f3f20cfb (patch) | |
tree | af66991fc6e44a67971469cc58643b8780203c3c /doc/eval.texi | |
parent | 4d518f123029f6cda1d3875902bbf9566c1fa76f (diff) | |
download | ffmpeg-40963ea9e9f8fbc178673c963f1d9662f3f20cfb.tar.gz |
eval: add mathematical constants (PI, E, PHI).
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/eval.texi')
-rw-r--r-- | doc/eval.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/eval.texi b/doc/eval.texi index b41f31ec26..18d848749a 100644 --- a/doc/eval.texi +++ b/doc/eval.texi @@ -99,6 +99,16 @@ Return the greatest common divisor of @var{x} and @var{y}. If both @var{x} and @var{y} are 0 or either or both are less than zero then behavior is undefined. @end table +The following constants are available: +@table @option +@item PI +area of the unit disc, approximatively 3.14 +@item E +exp(1) (Euler's number), approximatively 2.718 +@item PHI +golden ratio (1+sqrt(5))/2, approximatively 1.618 +@end table + Note that: @code{*} works like AND |