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