[FFmpeg-devel] [PATCH] eval: add support for a round function

Nicolas George nicolas.george at normalesup.org
Wed Mar 30 22:49:24 CEST 2011

Le decadi 10 germinal, an CCXIX, Stefano Sabatini a écrit :
> +If the value of @var{expr2} is a positive value, round towards 0, if
> +the value of @var{expr2} is negative, round towards infinity.

People who read the code without reading the documentation will assume that
round works similarly to other languages, but C round, for example, rounds
towards the nearest. Maybe a different name?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110330/034ae10d/attachment.asc>

More information about the ffmpeg-devel mailing list