generic M_PI define