News for hackers. Stuff that matters.
Re:Integers in C quiz by marshallward on Sunday September 04, 2022 @09:52AM (#32713061)
Fortran supports both of these, with `mod` as the C-like truncated modulo and `modulo` as the floored modulo. Having both is convenient, but you do get errors from people who don't realize the difference
Re:Integers in C quiz by mtreis86 on Sunday September 04, 2022 @03:34PM (#32716846)
Common Lisp as well, Rem and Mod