Quad — C Library Procedures
NAME
Quad_CompareUns, Quad_EQ − Comparison routines for 64-bit integers
SYNOPSIS
#include <quad.h>
int
Quad_CompareUns(uQuad1Ptr, uQuad2Ptr)
Boolean
Quad_EQ(uQuad1, uQuad2)
ARGUMENTS
u_quad uQuadN (in) N’th unsigned quad argument.
u_quad ∗uQuadNPtr (in) Pointer to N’th unsigned quad argument.
DESCRIPTION
These routines compare two 64-bit integers. Quad_CompareUns compares two unsigned quads, returning −1 if the first value is less than the second, 0 if they are equal, and +1 if the first value is greater than the second. It was designed for use with qsort.
Quad_EQ compares two quads or unsigned quads, returning TRUE if they are equal and FALSE if they are not. Quad_EQ is a macro, so beware of side effects.
KEYWORDS
quad, counter
Sprite version 1.0 — March 18, 1991