Commit b81e9d23 authored by mru's avatar mru

Define INFINITIY and NAN in mathematics.h if missing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19611 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 04afd71b
......@@ -41,6 +41,12 @@
#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
#ifndef INFINITY
#define INFINITY (1.0/0.0)
#endif
enum AVRounding {
AV_ROUND_ZERO = 0, ///< Round toward zero.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment