C++ & π - Meeting C++
2 weeks ago, I had to refactor a bit of code, also containing pi (π). I do not often have to deal with mathematical C++ code, so using pi in my code is rare. But I wanted to replace #define PI 3.14 with something more useful. I discovered several ways of ...