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: > https://github.com/JuliaLang/openlibm/blob/master/include/openlibm_math.h > which has an identical definition to gnu libm for M_PI.
FreeBSD uses 3.14159265358979323846, same as GNU: https://svnweb.freebsd.org/base/head/lib/msun/src/math.h?revision=271651&view=markup 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. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel