Important: The information in this document is obsolete and should not be used for new development.
Converting Between Fixed-Point and Floating-Point Values
The Mathematical and Logical Utilities provide four functions that allow you to convert between fixed-point and floating-point values represented using SANE'sExtendedfloating-point data type. TheFix2Xfunction and theX2Fixfunction convert betweenFixedandExtendednumbers. TheFrac2XandX2Fracfunctions convert betweenFractandExtendednumbers. See Apple Numerics Manual for information about numeric data types supported by SANE.
Subtopics
- Fix2X
- X2Fix
- Frac2X
- X2Frac