This patch updates fputils to the latest revision (
13589cd) from the
upstream repository (github.com/andysan/fputils).
#define BUILD_FP80(sign, frac, exp) \
{ \
+ .repr.pad = { 0 }, \
.repr.se = BUILD_FP80_SE(sign, exp), \
.repr.fi = BUILD_FP80_FI(frac, exp) \
}
uint64_t fi;
/** Raw representation of sign bit and exponent */
uint16_t se;
+ /** Add explicit padding to ensure this data structure
+ * is properly aligned.
+ */
+ uint16_t pad[3];
} repr;
/**
* Represented as a char array, mainly intended for debug dumping
* and serialization.
*/
- char bits[10];
+ char bits[16];
} fp80_t;
/** @} */