You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavu/libm,configure: remove exp10, exp10f detection
Subsequent commit introduces ff_exp10 instead. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -1817,8 +1817,6 @@ MATH_FUNCS="
|
|||||||
copysign
|
copysign
|
||||||
cosf
|
cosf
|
||||||
erf
|
erf
|
||||||
exp10
|
|
||||||
exp10f
|
|
||||||
exp2
|
exp2
|
||||||
exp2f
|
exp2f
|
||||||
expf
|
expf
|
||||||
|
@@ -293,24 +293,6 @@ static inline double erf(double z)
|
|||||||
#define exp2f(x) ((float)exp2(x))
|
#define exp2f(x) ((float)exp2(x))
|
||||||
#endif /* HAVE_EXP2F */
|
#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
|
#if !HAVE_ISINF
|
||||||
#undef isinf
|
#undef isinf
|
||||||
/* Note: these do not follow the BSD/Apple/GNU convention of returning -1 for
|
/* Note: these do not follow the BSD/Apple/GNU convention of returning -1 for
|
||||||
|
Reference in New Issue
Block a user