News for hackers. Stuff that matters.
Re:How Many Decimals of Pi Do We Really Need? (2016) by votepaunchy on Monday September 28, 2020 @05:42PM (#24621525)
C++20 defines mathematical constants including Pi.

https://en.cppreference.com/w/cpp/numeric/constants

Re:How Many Decimals of Pi Do We Really Need? (2016) by taylodl on Tuesday September 29, 2020 @07:44AM (#24626478)
Thanks for the heads up! I haven't been paying any attention to C++20. You must be on the cutting edge of C++ to know that - I ended up having to work a bit on my Macbook Pro to get a version of gcc working that defines std::numbers::pi.