The OpenD Programming Language

Int128.opCmp

support arithmentic comparison operators < <= > >=

  1. int opCmp(Int128 op2)
    struct Int128
    const @nogc nothrow pure @safe
    int
    opCmp
  2. int opCmp(Int op2)
  3. int opCmp(IntLike op2)

Return Value

Type: int

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

Meta