<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Positive, as defined in chapter 8.2.2 in</div><div id="AppleMailSignature"><a href="https://www.inf.ethz.ch/personal/wirth/Oberon/Oberon07.Report.pdf">https://www.inf.ethz.ch/personal/wirth/Oberon/Oberon07.Report.pdf</a></div><div id="AppleMailSignature"><br>br</div><div id="AppleMailSignature">Jörg</div><div><br>Am 15.02.2017 um 04:21 schrieb Srinivas Nayak <<a href="mailto:sinu.nayak2001@gmail.com">sinu.nayak2001@gmail.com</a>>:<br><br></div><blockquote type="cite"><div><span>Dear All,</span><br><span></span><br><span>Recently I come across modulus on a negative number.</span><br><span>Will it produce a negative number or positive?</span><br><span>Someone says both are correct! <a href="http://stackoverflow.com/a/4403556">http://stackoverflow.com/a/4403556</a></span><br><span>Which one is mathematically correct?</span><br><span>Surprisingly different languages calculate it differently even!</span><br><span>What is Oberon's way?</span><br><span></span><br><span></span><br><span>With thanks and best regards,</span><br><span></span><br><span>Yours sincerely,</span><br><span>Srinivas Nayak</span><br><span></span><br><span>Home: <a href="http://www.mathmeth.com/sn/">http://www.mathmeth.com/sn/</a></span><br><span>Blog: <a href="http://srinivas-nayak.blogspot.in/">http://srinivas-nayak.blogspot.in/</a></span><br><span>--</span><br><span><a href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems</span><br><span><a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a></span><br></div></blockquote></body></html>