![]() |
FracSqrt |
||||
Header: | FixMath.h | Carbon status: | Supported | |
Obtains the square root of a Fract number.
Fract FracSqrt ( Fract x );
The Fract number to obtain a square root of. This parameter is interpreted as being unsigned in the range 0 through 4 230, inclusive. That is, the bit of the Fract number that ordinarily has weight -2 is instead interpreted as having weight 2.
The square root of the specified Fract number. The result is unsigned in the range 0 through 2, inclusive.
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)