Important: The information in this document is obsolete and should not be used for new development.
FractToFixed
You can use theFractToFixedmacro to convert afractnumber to aFixednumber.
#define FractToFixed (a) ((Fixed) (a) + 8192L >> 14)
a- A
fractnumber to be converted to aFixednumber.- macro result
- A
Fixed number having the closest value to the fract number.