#include <muu/core.h>
template <>
muu::constants<long double> struct

long double constants.

Conversions

static T degrees_to_radians constexpr
Conversion factor for converting degrees into radians.
static T radians_to_degrees constexpr
Conversion factor for converting radians into degrees.

Floating-point

static int decimal_digits constexpr
The number of significant decimal digits that can be exactly represented.
static T default_epsilon constexpr
The default epsilon used by approx_equal.
static T infinity constexpr
Positive infinity.
static T nan constexpr
Not-A-Number (quiet)
static T negative_infinity constexpr
Negative infinity.
static T negative_zero constexpr
-0.0
static T signaling_nan constexpr
Not-A-Number (signalling)
static int significand_digits constexpr
The number of significand (mantissa) digits.

Integers

static T eight constexpr
8
static T five constexpr
5
static T four constexpr
4
static T nine constexpr
9
static T one constexpr
1
static T one_hundred constexpr
100
static T seven constexpr
7
static T six constexpr
6
static T ten constexpr
10
static T three constexpr
3
static T two constexpr
2
static T zero constexpr
0

Irrational numbers and ratios

static T e constexpr
e
static T e_over_eight constexpr
e / 8
static T e_over_five constexpr
e / 5
static T e_over_four constexpr
e / 4
static T e_over_seven constexpr
e / 7
static T e_over_six constexpr
e / 6
static T e_over_three constexpr
e / 3
static T e_over_two constexpr
e / 2
static T eight_over_e constexpr
8 / e
static T eight_over_phi constexpr
2 / phi
static T eight_over_pi constexpr
8 / pi
static T eight_over_three_pi constexpr
8 / (3 * pi)
static T five_over_e constexpr
5 / e
static T five_over_phi constexpr
2 / phi
static T five_over_pi constexpr
5 / pi
static T five_over_three_pi constexpr
5 / (3 * pi)
static T five_over_two_pi constexpr
5 / (2 * pi)
static T four_over_e constexpr
4 / e
static T four_over_five constexpr
4 / 5
static T four_over_phi constexpr
2 / phi
static T four_over_pi constexpr
4 / pi
static T four_over_seven constexpr
4 / 7
static T four_over_three constexpr
4 / 3
static T four_over_three_pi constexpr
4 / (3 * pi)
static T one_over_e constexpr
1 / e
static T one_over_eight constexpr
1 / 8
static T one_over_five constexpr
1 / 5
static T one_over_four constexpr
1 / 4
static T one_over_one_hundred constexpr
1 / 100
static T one_over_one_thousand constexpr
1 / 1000
static T one_over_phi constexpr
1 / phi
static T one_over_pi constexpr
1 / pi
static T one_over_seven constexpr
1 / 7
static T one_over_six constexpr
1 / 6
static T one_over_sqrt_e constexpr
1 / sqrt(e)
static T one_over_sqrt_phi constexpr
1 / sqrt(phi)
static T one_over_sqrt_pi constexpr
1 / sqrt(pi)
static T one_over_sqrt_three constexpr
1 / sqrt(3)
static T one_over_sqrt_three_pi constexpr
1 / sqrt(3 * pi)
static T one_over_sqrt_two constexpr
1 / sqrt(2)
static T one_over_sqrt_two_pi constexpr
1 / sqrt(2 * pi)
static T one_over_ten constexpr
1 / 10
static T one_over_three constexpr
1 / 3
static T one_over_three_pi constexpr
1 / (3 * pi)
static T one_over_two constexpr
1 / 2
static T one_over_two_pi constexpr
1 / (2 * pi)
static T phi constexpr
phi
static T phi_over_eight constexpr
phi / 8
static T phi_over_five constexpr
phi / 5
static T phi_over_four constexpr
phi / 4
static T phi_over_seven constexpr
phi / 7
static T phi_over_six constexpr
phi / 6
static T phi_over_three constexpr
phi / 3
static T phi_over_two constexpr
phi / 2
static T pi constexpr
pi
static T pi_over_eight constexpr
pi / 8
static T pi_over_five constexpr
pi / 5
static T pi_over_four constexpr
pi / 4
static T pi_over_seven constexpr
pi / 7
static T pi_over_six constexpr
pi / 6
static T pi_over_three constexpr
pi / 3
static T pi_over_two constexpr
pi / 2
static T seven_over_e constexpr
7 / e
static T seven_over_phi constexpr
2 / phi
static T seven_over_pi constexpr
7 / pi
static T seven_over_three_pi constexpr
7 / (3 * pi)
static T seven_over_two_pi constexpr
7 / (2 * pi)
static T six_over_e constexpr
6 / e
static T six_over_phi constexpr
2 / phi
static T six_over_pi constexpr
6 / pi
static T sqrt_e constexpr
sqrt(e)
static T sqrt_four constexpr
sqrt(4)
static T sqrt_phi constexpr
sqrt(phi)
static T sqrt_pi constexpr
sqrt(pi)
static T sqrt_three constexpr
sqrt(3)
static T sqrt_three_pi constexpr
sqrt(3 * pi)
static T sqrt_two constexpr
sqrt(2)
static T sqrt_two_pi constexpr
sqrt(2 * pi)
static T three_over_e constexpr
3 / e
static T three_over_eight constexpr
3 / 8
static T three_over_five constexpr
3 / 5
static T three_over_four constexpr
3 / 4
static T three_over_phi constexpr
2 / phi
static T three_over_pi constexpr
3 / pi
static T three_over_seven constexpr
3 / 7
static T three_over_two constexpr
3 / 2
static T three_over_two_pi constexpr
3 / (2 * pi)
static T three_pi constexpr
3 * pi
static T three_pi_over_eight constexpr
(3 * pi) / 8
static T three_pi_over_five constexpr
(3 * pi) / 5
static T three_pi_over_four constexpr
(3 * pi) / 4
static T three_pi_over_seven constexpr
(3 * pi) / 7
static T three_pi_over_two constexpr
(3 * pi) / 2
static T two_over_e constexpr
2 / e
static T two_over_five constexpr
2 / 5
static T two_over_phi constexpr
2 / phi
static T two_over_pi constexpr
2 / pi
static T two_over_seven constexpr
2 / 7
static T two_over_three constexpr
2 / 3
static T two_over_three_pi constexpr
2 / (3 * pi)
static T two_pi constexpr
2 * pi
static T two_pi_over_five constexpr
(2 * pi) / 5
static T two_pi_over_seven constexpr
(2 * pi) / 7
static T two_pi_over_three constexpr
(2 * pi) / 3

Limits

static T highest constexpr
The highest representable 'normal' value (equivalent to std::numeric_limits::max()).
static T lowest constexpr
The lowest representable 'normal' value (equivalent to std::numeric_limits::lowest()).