]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/libm.h
Merge commit '09ae7b81ea2051eec2be9964296bd6ef492c6622'
[ffmpeg] / libavutil / libm.h
index ad7da060e8512f1b8efb5989382d64edef3d1166..bc44dcab0fd406dc42b0c0f72e4978ba8d354c2d 100644 (file)
@@ -293,24 +293,6 @@ static inline double erf(double z)
 #define exp2f(x) ((float)exp2(x))
 #endif /* HAVE_EXP2F */
 
-/* Somewhat inaccurate fallbacks, relative error ~ 1e-13 concentrated on very
-small and very large values. For perfection accuracy-wise, should use pow.
-Speed benefits (>2x average, with no super slow paths) deemed to be worth the
-accuracy tradeoff */
-#if !HAVE_EXP10
-static av_always_inline double exp10(double x)
-{
-    return exp2(M_LOG2_10 * x);
-}
-#endif /* HAVE_EXP10 */
-
-#if !HAVE_EXP10F
-static av_always_inline float exp10f(float x)
-{
-    return exp2f(M_LOG2_10 * x);
-}
-#endif /* HAVE_EXP10F */
-
 #if !HAVE_ISINF
 #undef isinf
 /* Note: these do not follow the BSD/Apple/GNU convention of returning -1 for