#include <float_spec.hpp>
Definition at line 37 of file float_spec.hpp.
◆ IEEE754Converter()
uavcan::IEEE754Converter::IEEE754Converter |
( |
| ) |
|
|
private |
◆ enforceIeee()
template<unsigned BitLen>
static void uavcan::IEEE754Converter::enforceIeee |
( |
| ) |
|
|
inlinestaticprivate |
◆ halfToNativeIeee()
float uavcan::IEEE754Converter::halfToNativeIeee |
( |
uint16_t |
value | ) |
|
|
staticprivate |
◆ nativeIeeeToHalf()
uint16_t uavcan::IEEE754Converter::nativeIeeeToHalf |
( |
float |
value | ) |
|
|
staticprivate |
◆ roundstyle()
static std::float_round_style uavcan::IEEE754Converter::roundstyle |
( |
| ) |
|
|
inlinestatic |
UAVCAN requires rounding to nearest for all float conversions.
Definition at line 61 of file float_spec.hpp.
◆ toIeee() [1/2]
◆ toIeee() [2/2]
template<unsigned BitLen>
◆ toNative() [1/2]
◆ toNative() [2/2]
template<unsigned BitLen>
The documentation for this class was generated from the following files: