3 ms·
I think what’s meant is this: if you do uint32_t foo = 42 you’re effectively saying foo = 42 (mod 2³²) So, foo stands for the equivalence set {…, 42-
by Someone 5y ago
I think what’s meant is this: if you do
uint32_t foo = 42
you’re effectively saying
foo = 42 (mod 2³²)
So, foo stands for the equivalence set
{…, 42-2³², 42, 42+2³², …}
If you say
uint64_t bar = 42
you’re making the different statement that
bar = 42 (mod 2⁶⁴)
You can’t say that foo and bar are the same number, because (for example)
foo * 2³² ≠ bar * 2³²