Mercurial > libavutil.hg
comparison mathematics.h @ 897:37d97bd9f84d libavutil
Add M_SQRT2 to the constants in mathematics.h.
author | alexc |
---|---|
date | Fri, 09 Apr 2010 23:29:47 +0000 |
parents | 76fd7478a2dc |
children | 93bd29f34e99 |
comparison
equal
deleted
inserted
replaced
896:49c6800079b9 | 897:37d97bd9f84d |
---|---|
41 #ifndef M_PI | 41 #ifndef M_PI |
42 #define M_PI 3.14159265358979323846 /* pi */ | 42 #define M_PI 3.14159265358979323846 /* pi */ |
43 #endif | 43 #endif |
44 #ifndef M_SQRT1_2 | 44 #ifndef M_SQRT1_2 |
45 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ | 45 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ |
46 #endif | |
47 #ifndef M_SQRT2 | |
48 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ | |
46 #endif | 49 #endif |
47 #ifndef NAN | 50 #ifndef NAN |
48 #define NAN (0.0/0.0) | 51 #define NAN (0.0/0.0) |
49 #endif | 52 #endif |
50 #ifndef INFINITY | 53 #ifndef INFINITY |