Jump to content
Go to the documentation of this file.
7 #define PI 3.141592653589793238
8 #define HALF_PI (PI*0.5)
9 #define TWO_PI (PI*2.0)
11 #define R2D 57.295779513082321
15 #define D2R 1.745329251994328e-2
16 #define S2R 4.848136811095359e-6
24 #define SQUARE(x) x * x
25 #define CUBE(x) x * x * x
26 #define QUAD(x) x * x * x * x
28 #define GMAX(A, B) ((A) > (B) ? (A) : (B))
29 #define GMIN(A, B) ((A) < (B) ? (A) : (B))
31 #define IMOD(A, B) (A) - (((A) / (B)) * (B))