What’s the difference? Remainder vs Modulus

Today, another episode of my ongoing series “What’s the difference?” Today, what’s the difference between a remainder and a modulus, and which, if either, does the % operator represent in C#? A powerful idea that you see come up in mathematics and computer programming over and over again is the idea of an equivalence relation….

38

Integer Arithmetic In VBScript, Part One

I’ve received some questions recently on how integer arithmetic works in VBScript, so I thought I might spend a few entries talking about some low-level bit twiddling topics. Here’s one of the mails I got this morning: There seems to be a limitation on the largest number that the VBScript “mod” operator works against. I…

14