Developer documentation
Version 3.0.3-105-gd3941f44
Mathematical constants

Variables

constexpr double MR::Math::e = 2.71828182845904523536
 
constexpr double MR::Math::pi = 3.14159265358979323846
 
constexpr double MR::Math::pi_2 = pi / 2.0
 
constexpr double MR::Math::pi_4 = pi / 4.0
 
constexpr double MR::Math::sqrt2 = 1.41421356237309504880
 
constexpr double MR::Math::sqrt1_2 = 1.0 / sqrt2
 

Detailed Description

Variable Documentation

◆ e

constexpr double MR::Math::e = 2.71828182845904523536
constexpr

Definition at line 39 of file math.h.

◆ pi

constexpr double MR::Math::pi = 3.14159265358979323846
constexpr

Definition at line 40 of file math.h.

◆ pi_2

constexpr double MR::Math::pi_2 = pi / 2.0
constexpr

Definition at line 41 of file math.h.

◆ pi_4

constexpr double MR::Math::pi_4 = pi / 4.0
constexpr

Definition at line 42 of file math.h.

◆ sqrt1_2

constexpr double MR::Math::sqrt1_2 = 1.0 / sqrt2
constexpr

Definition at line 44 of file math.h.

◆ sqrt2

constexpr double MR::Math::sqrt2 = 1.41421356237309504880
constexpr

Definition at line 43 of file math.h.