Important: The information in this document is obsolete and should not be used for new development.
FixedToFloat
You can use theFixedToFloat
macro to convert aFixed
number to a floating-point number.
#define FixedToFloat(a) ((float)(a) / fixed1)
a
- A
Fixed
number to be converted to a floating-point number.- macro result
- A floating-point number having the same value as the
Fixed number.