Skip to content

Variable pi

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

Fully qualified name: ns::pi

Declared at library.hpp:187

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.