0_0_16866830_4330.cpp: In function 'double simulAnneal()': 0_0_16866830_4330.cpp:35:35: error: 'M_PI' was not declared in this scope double dx = step * cos(k * 2 * M_PI / nDirec); ^