1 #ifdef __cplusplus
2 #include <cmath>
3 #else
4 #include <math.h>
5 #endif
6 
7 #ifndef M_PI
8 #define M_PI 3.14159265358979323846264338327950288
9 #endif
10