projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497431a
)
Add M_SQRT2 to the constants in mathematics.h.
author
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Apr 2010 23:29:47 +0000
(23:29 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Apr 2010 23:29:47 +0000
(23:29 +0000)
Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mathematics.h
patch
|
blob
|
history
diff --git
a/libavutil/mathematics.h
b/libavutil/mathematics.h
index 3b783db83284b95ea44d33e58552c9a0d65ec83f..e198aef8cbae935807dbe3e74abe149be620c470 100644
(file)
--- 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