<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
From the Component Pascal's Language definition we find<br>
<br>
<img src="cid:part1.FB6876C1.8BF4540C@greenwoodfarm.com" alt=""><br>
-Doug Danforth<br>
<br>
<div class="moz-cite-prefix">On 2/14/2017 7:21 PM, Srinivas Nayak
wrote:<br>
</div>
<blockquote cite="mid:58A3C931.3050600@gmail.com" type="cite">Dear
All,
<br>
<br>
Recently I come across modulus on a negative number.
<br>
Will it produce a negative number or positive?
<br>
Someone says both are correct! <a class="moz-txt-link-freetext" href="http://stackoverflow.com/a/4403556">http://stackoverflow.com/a/4403556</a>
<br>
Which one is mathematically correct?
<br>
Surprisingly different languages calculate it differently even!
<br>
What is Oberon's way?
<br>
<br>
<br>
With thanks and best regards,
<br>
<br>
Yours sincerely,
<br>
Srinivas Nayak
<br>
<br>
Home: <a class="moz-txt-link-freetext" href="http://www.mathmeth.com/sn/">http://www.mathmeth.com/sn/</a>
<br>
Blog: <a class="moz-txt-link-freetext" href="http://srinivas-nayak.blogspot.in/">http://srinivas-nayak.blogspot.in/</a>
<br>
--
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related
systems
<br>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Danforth of the Greenwood</div>
</body>
</html>