From e4a35244fac4171a3d3c60a5bac465b98fe0444b Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 20 Feb 2010 20:13:48 +0000 Subject: Replace log2f(10) with a constant Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/mathematics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavutil/mathematics.h') diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h index 29b13f77ed..4cc3b49aad 100644 --- a/libavutil/mathematics.h +++ b/libavutil/mathematics.h @@ -35,6 +35,9 @@ #ifndef M_LN10 #define M_LN10 2.30258509299404568402 /* log_e 10 */ #endif +#ifndef M_LOG2_10 +#define M_LOG2_10 3.32192809488736218171 /* log_2 10 */ +#endif #ifndef M_PI #define M_PI 3.14159265358979323846 /* pi */ #endif -- cgit v1.2.3