Skip to content

IntGE

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);

Returns

true when lhs >= rhs.

Usage example (Cross-references)

Usage examples (Cross-references)
                IntShiftLeft(&shifted, bit);
    
                if (IntGE(&r, &shifted)) {
                    Int next = IntInit();
        IntMod(&br, b, modulus);
    
        if (IntGE(&ar, &br)) {
            (void)IntSub(result, &ar, &br);
        } else {
        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