Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What good is modulus (%)?

Name: Anonymous 2010-06-27 14:52

I've written dozens of computer programs, and have never even come close to having to use this silly operator.

Name: Anonymous 2010-06-27 17:15

>>7
That breaks on negative numbers.
A lot of languages do behave like that, but that's not a true modulus operation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List