Mercurial > libavutil.hg
diff mathematics.h @ 548:8d46104adf83 libavutil
move M_PI definition along with other math definitions
author | aurel |
---|---|
date | Wed, 13 Aug 2008 16:01:21 +0000 |
parents | 3f9f807b86a4 |
children | bd4052d9050c |
line wrap: on
line diff
--- a/mathematics.h Wed Aug 13 10:04:59 2008 +0000 +++ b/mathematics.h Wed Aug 13 16:01:21 2008 +0000 @@ -34,6 +34,9 @@ #ifndef M_LN10 #define M_LN10 2.30258509299404568402 /* log_e 10 */ #endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif #ifndef M_SQRT1_2 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ #endif