Roger Browne (via RT) wrote:
The following pir program:
[ ... ]
...but I believe it should print this:
3 mod 3 = 0
-3 mod 3 = 0
3 mod -3 = 0
-3 mod -3 = 0
IMHO too. I've updated intval_mod to consider the case of zero reminder
with negative args (rev 8178).
Thanks for testing,
leo
# New Ticket Created by Roger Browne
# Please include the string: [perl #36003]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36003 >
The following pir program:
.sub test @MAIN
$I1 = mod 3, 3
print "3 mod 3 = "