XCORE SDK
XCORE Software Development Kit
|
A floating-point scalar with a 32-bit mantissa. More...
#include <xs3_math_types.h>
Public Attributes | |
int32_t | mant |
32-bit mantissa | |
exponent_t | exp |
exponent | |
A floating-point scalar with a 32-bit mantissa.
Represents a (non-standard) floating-point value given by \( M \cdot 2^{x} \), where \(M\) is the 32-bit mantissa mant
, and \(x\) is the exponent exp
.
To convert a float_s32_t
to a standard IEEE754 single-precision floating-point value (which may result in a loss of precision):