Add M_SQRT2 to the constants in mathematics.h.

Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Alex Converse 15 years ago
parent 497431a5b6
commit b9f60bd8fd
  1. 3
      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

Loading…
Cancel
Save