Revision bd41c06f libavutil/mathematics.h
libavutil/mathematics.h  

41  41 
#ifndef M_SQRT1_2 
42  42 
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ 
43  43 
#endif 
44 
#ifndef NAN 

45 
#define NAN (0.0/0.0) 

46 
#endif 

47 
#ifndef INFINITY 

48 
#define INFINITY (1.0/0.0) 

49 
#endif 

44  50  
45  51 
enum AVRounding { 
46  52 
AV_ROUND_ZERO = 0, ///< Round toward zero. 
Also available in: Unified diff