|
Blender V4.3
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::math |
| namespace | blender::math::numbers |
Variables | |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::e_v = 2.718281828459045235360287471352662498L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::log2e_v = 1.442695040888963407359924681001892137L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::log10e_v = 0.434294481903251827651128918916605082L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::pi_v = 3.141592653589793238462643383279502884L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::inv_pi_v = 0.318309886183790671537767526745028724L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::inv_sqrtpi_v = 0.564189583547756286948079451560772586L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::ln2_v = 0.693147180559945309417232121458176568L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::ln10_v = 2.302585092994045684017991454684364208L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::sqrt2_v = 1.414213562373095048801688724209698079L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::sqrt3_v = 1.732050807568877293527446341505872367L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::inv_sqrt3_v = 0.577350269189625764509148780501957456L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::egamma_v = 0.577215664901532860606512090082402431L |
| template<typename T , BLI_ENABLE_IF((std::is_floating_point_v< T >)) > | |
| constexpr T | blender::math::numbers::phi_v = 1.618033988749894848204586834365638118L |
| constexpr double | blender::math::numbers::e = e_v<double> |
| constexpr double | blender::math::numbers::log2e = log2e_v<double> |
| constexpr double | blender::math::numbers::log10e = log10e_v<double> |
| constexpr double | blender::math::numbers::pi = pi_v<double> |
| constexpr double | blender::math::numbers::inv_pi = inv_pi_v<double> |
| constexpr double | blender::math::numbers::inv_sqrtpi = inv_sqrtpi_v<double> |
| constexpr double | blender::math::numbers::ln2 = ln2_v<double> |
| constexpr double | blender::math::numbers::ln10 = ln10_v<double> |
| constexpr double | blender::math::numbers::sqrt2 = sqrt2_v<double> |
| constexpr double | blender::math::numbers::sqrt3 = sqrt3_v<double> |
| constexpr double | blender::math::numbers::inv_sqrt3 = inv_sqrt3_v<double> |
| constexpr double | blender::math::numbers::egamma = egamma_v<double> |
| constexpr double | blender::math::numbers::phi = phi_v<double> |
Contains the same definitions as the C++20 <numbers> header and will be replaced when we switch.
Definition in file BLI_math_numbers.hh.