TSDuck v3.46-4965
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ieee_float< storage_bits, exponent_bits, mantissa_bits > Struct Template Reference

#include <tsFloatUtils.h>

Public Types

using type

Detailed Description

template<int storage_bits, int exponent_bits, int mantissa_bits>
struct ts::ieee_float< storage_bits, exponent_bits, mantissa_bits >

Definition of an IEEE floating point type with a given represenation.

Template Parameters
storage_bitsExpected size in bits of the type.
exponent_bitsExpected number of bits in the exponent.
mantissa_bitsExpected number of bits in the mantissa.

Member Typedef Documentation

◆ type

template<int storage_bits, int exponent_bits, int mantissa_bits>
using ts::ieee_float< storage_bits, exponent_bits, mantissa_bits >::type
Initial value:
typename std::conditional<
float,
typename std::conditional<
double,
typename std::conditional<
long double,
void
constexpr bool match_ieee_float()
Definition tsFloatUtils.h:48
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 type
Definition tsFloatUtils.h:78

The corresponding floating type. When no predefined floating point type matches the requirement, the generated type is void.


The documentation for this struct was generated from the following file: