Walter Bright <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |WONTFIX

--- Comment #1 from Walter Bright <> 2012-09-16 
14:45:34 PDT ---
Adding a new operator for an incredibly rare operation is not justified. A
library function should be used for this, if it matters at all, and I am not
convinced it does.

As Don pointed out to me, there is no "mathematical" definiton of modulus. And
as makes clear, there is no
consistent definition of it in programming languages, with four different
definitions of it in use, not including "implementation defined" ones.

To say one version of modulus is "bug prone" and the other is not, is itself

There is simply no getting around the fact that the programmer needs to be
aware of what result he is trying to achieve with negative numbers.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to