3 ms·
C++20 defines mathematical constants including Pi. https://en.cppreference.com/w/cpp/numeric/constants https://en.cppreference.com/w/cpp/numeric/constants
by votepaunchy 6y ago
C++20 defines mathematical constants including Pi.
https://en.cppreference.com/w/cpp/numeric/constants https://en.cppreference.com/w/cpp/numeric/constants
- taylodl 6y agoThanks 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.