Project
Loading...
Searching...
No Matches
o2::constants::math Namespace Reference

Variables

constexpr float Almost0 = 0x1.0p-126f
 
constexpr float Epsilon = 0x0.000002p0f
 
constexpr float Almost1 = 1.f - 1.0e-6f
 
constexpr float VeryBig = 1.f / Almost0
 
constexpr float PI = 3.14159274101257324e+00f
 
constexpr float TwoPI = 2.f * PI
 
constexpr float PIHalf = 0.5f * PI
 
constexpr float PIThird = PI / 3.0f
 
constexpr float PIQuarter = 0.25f * PI
 
constexpr float Rad2Deg = 180.f / PI
 
constexpr float Deg2Rad = PI / 180.f
 
constexpr int NSectors = 18
 
constexpr float SectorSpanDeg = 360. / NSectors
 
constexpr float SectorSpanRad = SectorSpanDeg * Deg2Rad
 
constexpr float B2C = -0.299792458e-3
 

Variable Documentation

◆ Almost0

constexpr float o2::constants::math::Almost0 = 0x1.0p-126f
constexpr

Definition at line 25 of file MathConstants.h.

◆ Almost1

constexpr float o2::constants::math::Almost1 = 1.f - 1.0e-6f
constexpr

Definition at line 27 of file MathConstants.h.

◆ B2C

constexpr float o2::constants::math::B2C = -0.299792458e-3
constexpr

Definition at line 43 of file MathConstants.h.

◆ Deg2Rad

constexpr float o2::constants::math::Deg2Rad = PI / 180.f
constexpr

Definition at line 36 of file MathConstants.h.

◆ Epsilon

constexpr float o2::constants::math::Epsilon = 0x0.000002p0f
constexpr

Definition at line 26 of file MathConstants.h.

◆ NSectors

constexpr int o2::constants::math::NSectors = 18
constexpr

Definition at line 38 of file MathConstants.h.

◆ PI

constexpr float o2::constants::math::PI = 3.14159274101257324e+00f
constexpr

Definition at line 30 of file MathConstants.h.

◆ PIHalf

constexpr float o2::constants::math::PIHalf = 0.5f * PI
constexpr

Definition at line 32 of file MathConstants.h.

◆ PIQuarter

constexpr float o2::constants::math::PIQuarter = 0.25f * PI
constexpr

Definition at line 34 of file MathConstants.h.

◆ PIThird

constexpr float o2::constants::math::PIThird = PI / 3.0f
constexpr

Definition at line 33 of file MathConstants.h.

◆ Rad2Deg

constexpr float o2::constants::math::Rad2Deg = 180.f / PI
constexpr

Definition at line 35 of file MathConstants.h.

◆ SectorSpanDeg

constexpr float o2::constants::math::SectorSpanDeg = 360. / NSectors
constexpr

Definition at line 39 of file MathConstants.h.

◆ SectorSpanRad

constexpr float o2::constants::math::SectorSpanRad = SectorSpanDeg * Deg2Rad
constexpr

Definition at line 40 of file MathConstants.h.

◆ TwoPI

constexpr float o2::constants::math::TwoPI = 2.f * PI
constexpr

Definition at line 31 of file MathConstants.h.

◆ VeryBig

constexpr float o2::constants::math::VeryBig = 1.f / Almost0
constexpr

Definition at line 28 of file MathConstants.h.