Wrong math for negative numbers
Posted: Tue Dec 09, 2014 4:53 pm
Code: Select all
> print(1000%10000)
1000
That's OK.
However:
Code: Select all
> print(-1000%10000)
9000
Does not seem very good...