Skip to content

IntGE

Description

Test whether lhs is greater than or equal to rhs.

Parameters

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

Usage example (from documentation)

  bool at_least = IntGE(&value, threshold);

Success

Returns true when lhs >= rhs.

Failure

Returns false otherwise.

Usage example (Cross-references)

Usage examples (Cross-references)
                }
    
                if (IntGE(&r, &shifted)) {
                    Int next = IntInit(IntAllocator(quotient));
        }
    
        if (IntGE(&ar, &br)) {
            if (!int_sub(result, &ar, &br)) {
                IntDeinit(&ar);
        result      = result && IntLE(&a, &b);
        result      = result && IntGT(&b, &a);
        result      = result && IntGE(&b, &a);
        result      = result && IntEQ(&b, &c);
        result      = result && IntGE(&b, &c);
        result      = result && IntGE(&b, &a);
        result      = result && IntEQ(&b, &c);
        result      = result && IntGE(&b, &c);
        result      = result && IntLE(&b, &c);
        result      = result && IntNE(&a, &b);
Last updated on