M
Michael C#
A statement of the form (m mod n) uses the sign of the first operand (m) as
the sign of the result. I've ecnountered an issue where I need it to use
the sign of the second operand. Here's what it looks like now:
-363 mod -60 = -3
-363 mod 60 = -3
363 mod -60 = 3
Anyone have any ideas? Thanks.
the sign of the result. I've ecnountered an issue where I need it to use
the sign of the second operand. Here's what it looks like now:
-363 mod -60 = -3
-363 mod 60 = -3
363 mod -60 = 3
Anyone have any ideas? Thanks.