diff options
-rw-r--r-- | libavutil/mathematics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h index 3b783db832..e198aef8cb 100644 --- a/libavutil/mathematics.h +++ b/libavutil/mathematics.h @@ -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 |