tags:

views:

99

answers:

1

I seem to remember that ANSI C didn't specify what value should be returned when either operand of a modulo operator is negative (just that it should be consistent). Did it get specified later, or was it always specified and I am remembering incorrectly?

+13  A: 
KennyTM
+1 excellent. This made my answer totally redundant :(
Philip Potter
@KennyTm +1 On a lighter note have you memorized the standard? :-)
Praveen S