Mercurial > libavutil.hg
changeset 897:37d97bd9f84d libavutil
Add M_SQRT2 to the constants in mathematics.h.
author | alexc |
---|---|
date | Fri, 09 Apr 2010 23:29:47 +0000 |
parents | 49c6800079b9 |
children | 9087f43dbcd2 |
files | mathematics.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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