Mercurial > libavutil.hg
diff mathematics.h @ 897:37d97bd9f84d libavutil
Add M_SQRT2 to the constants in mathematics.h.
author | alexc |
---|---|
date | Fri, 09 Apr 2010 23:29:47 +0000 |
parents | 76fd7478a2dc |
children | 93bd29f34e99 |
line wrap: on
line diff
--- a/mathematics.h Tue Apr 06 22:31:59 2010 +0000 +++ b/mathematics.h Fri Apr 09 23:29:47 2010 +0000 @@ -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