Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 8 - QuickDraw GX Mathematics / QuickDraw GX Mathematics Reference
Mathematical Functions / Operations on wide Numbers


WideSquareRoot

You can use the WideSquareRoot function to calculate the square root of a wide number.

unsigned long WideSquareRoot(const wide *source);
source
A pointer to the number for which the square root is to be calculated.
function result
A number that is the square root of the number in the argument.
DESCRIPTION
The WideSquareRoot function returns the square root of the wide number pointed to by the source parameter. The source value for this function must be an unsigned wide value ranging from 0 to 264 - 1, not -263 to 263 - 1. If you supply a non-integer value for this function, its bias must be an even number of bits.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996