[Bug libfortran/19032] modulo generates wrong result for divisor -1
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 16 14:41:00 GMT 2004
------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-16 14:41 -------
I checked gfortran against the examples in the standard, and we seem to only get
the case modulo (..., -1) wrong (result should be 0, we print -1)
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|modulo generates wrong |modulo generates wrong
|result |result for divisor -1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19032
More information about the Gcc-bugs
mailing list