eb128_cmp_264

Compares a and b in a qsort callback/D opCmp fashion. a and b are uint128_t values composed from alo and ahi or blo and bhi, respectively.

extern (C)
int
eb128_cmp_264
(
ulong alo
,
ulong ahi
,
ulong blo
,
ulong bhi
)

Parameters

alo ulong

value of the lower 64 bits of a

ahi ulong

value of the higher 64 bits of a

blo ulong

value of the lower 64 bits of b

ahi ulong

value of the higher 64 bits of b

Return Value

Type: int

a value less than 0 if a < b, a value greater than 0 if a > b or 0 if a == b.

Meta