We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e2f94 commit 137d073Copy full SHA for 137d073
source/execution/value.d
@@ -48,7 +48,7 @@ struct I64
48
///
49
int opCmp(I64 rhs) const
50
{
51
- return i < rhs.i;
+ return (i > rhs.i) - (i < rhs.i);
52
}
53
54
0 commit comments