1#ifndef QUGAR_LIBRARY_NUMBERS_HPP
2#define QUGAR_LIBRARY_NUMBERS_HPP
52constexpr real pi{ std::numbers::pi_v<real> };
54constexpr real infty{ std::numeric_limits<real>::infinity() };
56constexpr real eps = std::numeric_limits<real>::epsilon();
Numbers' namespace.
Definition numbers.hpp:17
constexpr real two
Real two value.
Definition numbers.hpp:24
constexpr real four_thirds
Real four thirds value.
Definition numbers.hpp:46
constexpr real three_quarters
Real three quarters value.
Definition numbers.hpp:50
constexpr real zero
Real zero value.
Definition numbers.hpp:20
constexpr real three
Real three value.
Definition numbers.hpp:26
constexpr real half
Real one over two value.
Definition numbers.hpp:40
constexpr real one_quarter
Real one quarter value.
Definition numbers.hpp:48
constexpr real eps
Machine epsilon.
Definition numbers.hpp:56
constexpr real eight
Real eight value.
Definition numbers.hpp:36
constexpr real five
Real five value.
Definition numbers.hpp:30
constexpr real pi
Pi.
Definition numbers.hpp:52
constexpr real one_third
Real one third value.
Definition numbers.hpp:42
constexpr real six
Real six value.
Definition numbers.hpp:32
constexpr real nine
Real nine value.
Definition numbers.hpp:38
constexpr real near_eps
Near machine epsilon (10 times the machine precision.
Definition numbers.hpp:58
constexpr real seven
Real seven value.
Definition numbers.hpp:34
constexpr real infty
Infinity.
Definition numbers.hpp:54
constexpr real four
Real four value.
Definition numbers.hpp:28
constexpr real one
Real one value.
Definition numbers.hpp:22
constexpr real two_thirds
Real two thirds value.
Definition numbers.hpp:44
double real
Definition types.hpp:18