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


WideCompare

You can use the WideCompare function to compare the magnitudes of two 64-bit numbers.

short WideCompare(const wide *target, const wide *source);
target
A pointer to one of the two wide numbers to be compared.
source
A pointer to the second of the two wide numbers to be compared.
function result
1 if the target number is greater, -1 if the source number is greater, and 0 if the two numbers are equal.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996