Skip to content

IntLT

IntLT

Description

Test whether lhs is strictly less than rhs.

Parameters

Name Direction Description
lhs in Left-hand integer
rhs in Right-hand operand selected through generic dispatch

Usage example (from documentation)

  bool smaller = IntLT(&value, other);

Returns

true when lhs < rhs.

Usage example (Cross-references)

Usage examples (Cross-references)
        Int c = IntFromBinary("000101010");
    
        bool result = IntLT(&a, &b);
        result      = result && IntLE(&a, &b);
        result      = result && IntGT(&b, &a);
        result      = result && IntLE(&value, 42);
        result      = result && IntGT(&value, -1);
        result      = result && IntLT(&value, 100ULL);
        result      = result && IntNE(&value, 43);
Last updated on