#define M_PI_4 0.78539816339744830962 

The constant pi/4.