[FFmpeg-devel] [PATCH] WIP/eval: document recently added random(), hypot(), gcd().

Clément Bœsch ubitux at gmail.com
Sat Oct 8 12:26:34 CEST 2011


On Sat, Oct 08, 2011 at 12:25:00PM +0200, Clément Bœsch wrote:
> ---
> I took av_gcd() description to document gcd(), but I'm not sure for random()
> (it seems normalized but I didn't check). And for hypot(), I just don't know
> what it is… :)
> ---
>  doc/eval.texi |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/doc/eval.texi b/doc/eval.texi
> index ac27750..7995f9e 100644
> --- a/doc/eval.texi
> +++ b/doc/eval.texi
> @@ -83,6 +83,12 @@ Return 1.0 if @var{expr} is zero, 0.0 otherwise.
>  @item pow(x, y)
>  Compute the power of @var{x} elevated @var{y}, it is equivalent to
>  "(@var{x})^(@var{y})".
> +
> + at item random()
> + at item hypot()
> + at item gcd()

Oh, and forgot the parameters too.

> +Return the greatest common divisor of a and b. If both a and b are 0 or either
> +or both are < 0 then behavior is undefined.
>  @end table
>  
>  Note that:
> -- 
> 1.7.7
> 

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111008/cfc14fb2/attachment.asc>


More information about the ffmpeg-devel mailing list