<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Modula-3 apparently specifies integer division as rounding down.<br>http://www.modula3.com/cm3/doc/reference/arithmetic.html<br><br>C used to leave it unspecified. So it could be fast.<br>Fortran rounded to zero.<br>C's ldiv function rounds to zero.<br>C now rounds to zero with C99.<br>  The rationale was that nobody using Fortran seemed to mind.<br>Java apparently rounds toward zero.<br>C# apparently rounds toward zero.<br><br><br>I'm assuming we are stuck being different here?<br><br> - Jay<br><br>                                       </body>
</html>