TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Definition of an IEEE floating point type with a given represenation. More...
#include <tsFloatUtils.h>
Public Types | |
using | type = typename std::conditional< match_ieee_float< float, storage_bits, exponent_bits, mantissa_bits >(), float, typename std::conditional< match_ieee_float< double, storage_bits, exponent_bits, mantissa_bits >(), double, typename std::conditional< match_ieee_float< long double, storage_bits, exponent_bits, mantissa_bits >(), long double, void >::type >::type >::type |
The corresponding floating type. | |
Definition of an IEEE floating point type with a given represenation.
storage_bits | Expected size in bits of the type. |
exponent_bits | Expected number of bits in the exponent. |
mantissa_bits | Expected number of bits in the mantissa. |
using ts::ieee_float< storage_bits, exponent_bits, mantissa_bits >::type = typename std::conditional< match_ieee_float<float, storage_bits, exponent_bits, mantissa_bits>(), float, typename std::conditional< match_ieee_float<double, storage_bits, exponent_bits, mantissa_bits>(), double, typename std::conditional< match_ieee_float<long double, storage_bits, exponent_bits, mantissa_bits>(), long double, void >::type >::type >::type |
The corresponding floating type.
When no predefined floating point type matches the requirement, the generated type is void
.