All Databases
Inside Mac - Basic Toolbox
X2Fix
Fix2Frac
Fix2Long
Long2Fix
Frac2Fix
Fix2X
Frac2X
X2Frac
X2Fix
Convert an Extended to a Fixed data type
#include <
FixMath.h
>
Toolbox Utilities
Fixed
X2Fix
(
arg
);
Extended
arg
; value to convert
returns
arg
, expressed as a
Fixed
data type
X2Fix
returns its
Extended
argument, converted into a
Fixed
data type.
arg
is an 80-bit or 96-bit
Extended
value.
Returns
: a 32-bit
Fixed
value, equivalent to
arg
to the best precision
possible for the data type.
Referenced by (3):
Toolbox Utilities (Inside Mac - Index)
Fixed Math (MacTech Vol 09-1993)
Fixed-Point Math Speed (MacTech Vol 13-1997)