numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
pi.h File Reference

Definition of pi. More...

+ This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Definition of pi.

Definition in file pi.h.

Macro Definition Documentation

◆ NUM_COLLECT_PI

#define NUM_COLLECT_PI   3.14159265358979323846264338327950288419716939937510

First 50 digits of pi.

Definition at line 26 of file pi.h.