"For integral operands of the % operator, the sign of the result is positive if the operands are positive, otherwise the sign of the result is implementation defined." should read "For integral operands of the % operator, the result is non-negative if the operands are non-negative. Otherwise, the sign of the result is implementation defined."
Does it mean positive in the normal mathematical sense, or having the internal sign bit set to positive?
Silly me, integral operands. Then it's correct except in the case where the right operand is zero.
Fixed dmd 1.047 and 2.032
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル