[FFmpeg-devel] [PATCH] all: use M_SQRT1_2, M_SQRT2, M_PI
george at nsup.org
Thu Nov 19 20:33:09 CET 2015
Le nonidi 29 brumaire, an CCXXIV, Ganesh Ajjanagadde a écrit :
> Exactly. Can't pull the source for bsd easily, but it likely is
> identical to openlibm since openlibm imported from freebsd:
> which has an identical definition to gnu libm for M_PI.
FreeBSD uses 3.14159265358979323846, same as GNU:
This gives 10^-20 accuracy, or a 69 bits mantissa, this is more than the 64
bits mantissa offered by i387 floating point unit, and way more than the 52
bits mantissa of usual floats.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel