Truncating remainder (same sign as the dividend), consistent with operator ~/ above — this is remainder() semantics, not Dart's Euclidean %.
operator ~/
remainder()
%
Int64 operator %(Int64 other) => this - (this ~/ other) * other;