Rob Conery personal blog

Mod and remainder are not the same

A remainder and a modulus look so very similar, but they are not the same thing and worse, are treated differently by different programming languages. Do you know how your language handles mod?
Points
165
HN comments
48
Submissions
1
Cited by
0 commenters

Math & AlgorithmsSoftware Engineering2018

On Hacker News

SubmittedTitle on HNPointsComments
Aug 22, 2018Mod and remainder are not the same by yread16548

More from Rob Conery

All 6 posts →

Related posts from the same era