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