numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of pi. More...
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::constants |
Namespace of constexpr variables and functions. | |
Macros | |
#define | NUM_COLLECT_PI 3.14159265358979323846264338327950288419716939937510 |
First 50 digits of pi. | |
Variables | |
template<typename T > | |
constexpr T | num_collect::constants::pi = static_cast<T>(NUM_COLLECT_PI) |
Value of pi, \( \pi = 3.141592653589793238462 \dots \). | |
constexpr double | num_collect::constants::pid = pi<double> |
Value of pi. | |
constexpr float | num_collect::constants::pif = pi<float> |
Value of pi. | |
Definition of pi.
Definition in file pi.h.