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


WideScale

You can use the WideScale function to obtain the bit number of the highest-order nonzero bit in the absolute value of a wide number.

short WideScale(const wide *w);
w
A pointer to the number whose scale is desired.
function result
The bit number of the highest order nonzero bit in the absolute value of w. The returned value is 63 if the highest-order bit is set, and 0 if the lowest order bit is set. If no bit is set, the return value is -1.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996