7 #ifndef cf3_Math_Consts_hpp
8 #define cf3_Math_Consts_hpp
40 inline Real
real_nan() {
return std::numeric_limits<Real>::signaling_NaN(); }
44 inline Real
eps() {
return std::numeric_limits<Real>::epsilon(); }
46 inline Real
inf() {
return std::numeric_limits<Real>::infinity(); }
48 inline Real
pi() {
return M_PI; }
56 #endif // cf3_Math_Consts_hpp
Real real_nan()
Definition of the minimum number representable with the chosen precision.
Real max(const Real a, const Real b)
Maximum between two scalars.
Real int_min()
Definition of the minimum number representable with the chosen precision.
Real pi()
Definition of the Pi constant.
Real int_max()
Returns the maximum number representable with the chosen precision.
Real min(const Real a, const Real b)
Minimum between two scalars.
Uint uint_min()
Definition of the minimum number representable with the chosen precision.
Top-level namespace for coolfluid.
Real real_max()
Returns the maximum number representable with the chosen precision.
Uint uint_max()
Returns the maximum number representable with the chosen precision.
Real inf()
Definition of Infinity.
Real real_min()
Definition of the minimum number representable with the chosen precision.
unsigned int Uint
typedef for unsigned int
coolfluid3 header, included almost everywhere