[Oberon] Modulus on negative number
sinu.nayak2001 at gmail.com
Wed Feb 15 04:21:21 CET 2017
Recently I come across modulus on a negative number.
Will it produce a negative number or positive?
Someone says both are correct! http://stackoverflow.com/a/4403556
Which one is mathematically correct?
Surprisingly different languages calculate it differently even!
What is Oberon's way?
With thanks and best regards,
More information about the Oberon