diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-04-09 23:29:47 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-04-09 23:29:47 +0000 |
commit | b9f60bd8fdc3b1de67d0ee061b24ea0dcd135bd0 (patch) | |
tree | 950146d41f2bfd986096da7688ad9b916a38d909 | |
parent | 497431a5b645ffc39cf3acbd333c9ff0f3031adb (diff) | |
download | ffmpeg-b9f60bd8fdc3b1de67d0ee061b24ea0dcd135bd0.tar.gz |
Add M_SQRT2 to the constants in mathematics.h.
Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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 |