[FFmpeg-cvslog] r22825 - trunk/libavutil/mathematics.h

alexc subversion
Sat Apr 10 01:29:48 CEST 2010


Author: alexc
Date: Sat Apr 10 01:29:47 2010
New Revision: 22825

Log:
Add M_SQRT2 to the constants in mathematics.h.

Modified:
   trunk/libavutil/mathematics.h

Modified: trunk/libavutil/mathematics.h
==============================================================================
--- trunk/libavutil/mathematics.h	Sat Apr 10 00:39:39 2010	(r22824)
+++ trunk/libavutil/mathematics.h	Sat Apr 10 01:29:47 2010	(r22825)
@@ -44,6 +44,9 @@
 #ifndef M_SQRT1_2
 #define M_SQRT1_2      0.70710678118654752440  /* 1/sqrt(2) */
 #endif
+#ifndef M_SQRT2
+#define M_SQRT2        1.41421356237309504880  /* sqrt(2) */
+#endif
 #ifndef NAN
 #define NAN            (0.0/0.0)
 #endif



More information about the ffmpeg-cvslog mailing list