ΒΆint compareImpl(uint64_t L,
uint64_t R,
int ScaleDiff)
int compareImpl(uint64_t L,
uint64_t R,
int ScaleDiff)
Description
Implementation for comparing scaled numbers. Compare two 64-bit numbers with different scales. Given that the scale of\c L is higher than that of \c R by \c ScaleDiff, compare them. Return -1, 1, and 0 for less than, greater than, and equal, respectively.
Declared at: llvm/include/llvm/Support/ScaledNumber.h:244
Parameters
- uint64_t L
- uint64_t R
- int ScaleDiff