aGrUM  0.16.0
math.h
Go to the documentation of this file.
1 
29 #ifndef GUM_MATH_H
30 #define GUM_MATH_H
31 
32 #include <cmath>
33 
34 
35 #ifndef M_LOG2E
36 # define M_LOG2E 1.4426950408889634074 /* log_2 e */
37 #endif
38 
39 #ifndef M_PI
40 # define M_PI 3.14159265358979323846
41 #endif
42 
43 #ifndef M_LN2
44 # define M_LN2 0.69314718055994530942 /* log_e 2 */
45 #endif
46 
47 #ifndef GUM_LOG_SQRT_2PI // std::log ( std::sqrt ( 2pi ) )
48 # define GUM_LOG_SQRT_2PI .91893853320467274177
49 #endif
50 
51 #endif /* GUM_MATH_H */