Carbon


Frac2Fix

Header: FixMath.h Carbon status: Supported

Converts a Fract number to a Fixed number.

Fixed Frac2Fix (
    Fract x
);
x

The Fract number to be converted to a Fixed number.

function result

The Fixed number that best approximates the Fract number x.0

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)