![]() |
Fix2Frac |
||||
Header: | FixMath.h | Carbon status: | Supported | |
Converts a Fixed number to a Fract number.
Fract Fix2Frac ( Fixed x );
The Fixed number to be converted to a Fract number.
The Fract number equivalent to the Fixed number x. If x is greater than the maximum representable Fract number, the Fix2Frac function returns $7FFFFFFF. If x is less than the negative number with the highest absolute value, Fix2Frac returns $80000000.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)