![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <algorithm>#include <cmath>#include <climits>#include <float.h>#include <Standard_TypeDef.hxx>Functions | |
| constexpr float | ShortRealSmall () |
| Returns the minimum positive float value. | |
| Use std::abs instead float | Abs (const float theValue) |
Returns the absolute value of a float Value. Equivalent to std::abs. | |
| constexpr int | ShortRealDigits () |
| Returns the number of digits of precision in a float. | |
| constexpr float | ShortRealEpsilon () |
| Returns the minimum positive float such that 1.0f + ShortRealEpsilon() != 1.0f. | |
| constexpr float | ShortRealFirst () |
| Returns the minimum negative value of a float. | |
| constexpr int | ShortRealFirst10Exp () |
| Returns the minimum value of exponent(base 10) of a float. | |
| constexpr float | ShortRealLast () |
| Returns the maximum value of a float. | |
| constexpr int | ShortRealLast10Exp () |
| Returns the maximum value of exponent(base 10) of a float. | |
| constexpr int | ShortRealMantissa () |
| Returns the mantissa (number of bits in the significand) of a float. | |
| constexpr int | ShortRealRadix () |
| Returns the radix (base) of a float. | |
| constexpr int | ShortRealSize () |
| Returns the size in bits of a float. | |
| Use std::max instead constexpr float | Max (const float theValue1, const float theValue2) |
| Returns the maximum value of two floats. Equivalent to std::max. | |
| Use std::min instead constexpr float | Min (const float theValue1, const float theValue2) |
| Returns the minimum value of two floats. Equivalent to std::min. | |
Returns the absolute value of a float Value. Equivalent to std::abs.
Returns the maximum value of two floats. Equivalent to std::max.
Returns the minimum value of two floats. Equivalent to std::min.
Returns the minimum positive float such that 1.0f + ShortRealEpsilon() != 1.0f.
Returns the minimum value of exponent(base 10) of a float.
Returns the maximum value of exponent(base 10) of a float.
Returns the mantissa (number of bits in the significand) of a float.