Int128.opCmp

support arithmentic comparison operators < <= > >=

  1. int opCmp(Int128 op2)
  2. int opCmp(Int op2)
    struct Int128
    const @nogc nothrow pure @safe
    int
    opCmp
    (
    Int
    )
    (
    const Int op2
    )
    if (
    is(Int : long) &&
    __traits(isIntegral, Int)
    )
  3. int opCmp(IntLike op2)

Return Value

Type: int

-1 for less than, 0 for equals, 1 for greater than

Meta