Skip to content

variable pi demo

template <typename T>
inline constexpr T pi = T(3.1415926535897932385)

Templated inline variable

Represents the mathematical constant pi

Template parameters
T The numeric type (e.g., float, double)

Note

This is a note about the pi variable

Defined at library.hpp:144