1  #include <math.h>
       2  #ifndef M_PI
       3  # define M_PI 3.14159265358979323846
       4  #endif
       5  #ifndef M_PI_2
       6  # define M_PI_2 1.57079632679489661923
       7  #endif
       8  #ifndef M_PI_4
       9  # define M_PI_4 0.78539816339744830962
      10  #endif