Important: The information in this document is obsolete and should not be used for new development.
FracSqrt
You can use theFracSqrt
function to obtain the square root of aFract
number.
FUNCTION FracSqrt (x: Fract): Fract;
x
- The
Fract
number to obtain a square root of. This parameter is interpreted as being unsigned in the range 0 through 4 - 2-30, inclusive. That is, the bit of aFract
number that ordinarily has weight -2 is instead interpreted as having weight 2.DESCRIPTION
TheFracSqrt
function returns the square root of theFract
number you supply in thex
parameter. The result is unsigned in the range 0 through 2, inclusive.