changeset 844:d1890ea2aa5c libavutil

Replace log2f(10) with a constant
author mru
date Sat, 20 Feb 2010 20:13:48 +0000
parents 496ffb1657ea
children f3cd6240dbfc
files mathematics.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mathematics.h	Sat Feb 20 16:02:48 2010 +0000
+++ b/mathematics.h	Sat Feb 20 20:13:48 2010 +0000
@@ -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