llvm::FunctionComparator::cmpAPFloats

Compare two arbitrary-precision floating-point values for ordering.

Synopsis

Declared in <llvm/Transforms/Utils/FunctionComparator.h>

int
cmpAPFloats(
    APFloat const& L,
    APFloat const& R) const;

Return Value

Negative if L is less than R, zero if equal, positive if greater.

Parameters

NameDescription
LLeft-hand floating-point value.
RRight-hand floating-point value.