The binary comparison operator a <=> b is defined for operands of numeric type. Its result type is int, and the value is 0 if a == b, 1 if a > b and -1 otherwise. The last case includes a < b, but also cases where a or b is Not-a-Number.
a <=> b
a == b
a > b