Remove % modulo operator and figure out a better system for modulo/remainder #10

Open
opened 2025-12-13 17:38:56 -05:00 by Ghost · 0 comments
Ghost commented 2025-12-13 17:38:56 -05:00 (Migrated from codefloe.com)

There are conflicting definitions for how modulo should be implemented. Research how modular arithmetic and remainders work in math and implement mod() and rem() functions as close as possible to that definition.

There are conflicting definitions for how modulo should be implemented. Research how modular arithmetic and remainders work in math and implement `mod()` and `rem()` functions as close as possible to that definition.
Sign in to join this conversation.
No labels
stdlib
syntax
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nclang/design#10
No description provided.