ΒΆtemplate <class DigitsT>
int compare(DigitsT LDigits,
            int16_t LScale,
            DigitsT RDigits,
            int16_t RScale)

Description

Compare two scaled numbers. Compare two scaled numbers. Returns 0 for equal, -1 for less than, and 1 for greater than.

Declared at: llvm/include/llvm/Support/ScaledNumber.h:251

Templates

DigitsT

Parameters

DigitsT LDigits
int16_t LScale
DigitsT RDigits
int16_t RScale