Re:Moving from Ruby to Rust
by m-ou-se on Friday February 15, 2019 @02:19AM
(#19169094)
C does not have a modulo operator. It has a remainder operator, which works perfectly fine. Calling C's `%` a 'broken modulo operator' is like calling `+` a 'broken minus operator'. Quite a few languages have separate operators, keywords, or functions for 'modulo' and 'remainder'.
[ Parent
| on HN ]
There are no comments on this comment yet.