負の数の除算時の余りの符号がどうなるのかたまに悩むのですが、Wikipediaに纏まっていました。僕の使用頻度が比較的高いC++,C#,Rubyそれぞれで仕様が異なるので気をつけないと。

ganawareganaware のブックマーク 2013/12/11 15:34

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Modulo - Wikipedia

    This article is about the binary operation mod(a,n). For the (mod n) notation, see Modular arithmetic. For other uses, see Modulo (disambiguation). In computing, the modulo operation returns the re...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう