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