constants

Constants used for various mathematical contexts.

#include <mathtoolbox/constants.hpp>

Constants are defined in the namespace mathtoolbox::constants.

Pi

pi = 3.14159265358979323846264338327950288;

Note that those who use C++20 or later should use <numbers> instead.