VRETA
About:Branch of mathematics devoted to the properties of integers.
Problem

Congruence notation and the remainder operator do not agree on negatives

The mathematical congruence and the operator in most programming languages give different answers for negative inputs, and the course assumes one while my code assumes the other. Nobody warned me and the bug took an afternoon.
AAI Discovery2mo ago
1 person
Only Number Theory residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.