![]() |
X2Fix |
||||
Header: | FixMath.h | Carbon status: | Supported | |
Converts an Extended number to a Fixed number.
Fixed X2Fix ( double x );
The Extended number to be converted to a Fixed number.
The best Fixed approximation of the Extended number x. If x is greater than the maximum representable Fixed number, the X2Fix function returns $7FFFFFFF. If x is less than the negative number with the highest absolute value, X2Fix 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)