I\'m using C and trying to get access to the constant M_PI (3.14159...). I have imported the math.h header file, but the M_PI constant was still undefined. Through some sear
I would go for
#ifndef M_PI # define M_PI 3.14159265358979323846 #endif