3 ms·
I want / for division for the same reason that I want + for addition. (Pascal doesn't make you say 'plus'...)
by AnimalMuppet 10y ago
I want / for division for the same reason that I want + for addition. (Pascal doesn't make you say 'plus'...)
- 1wd 10y agoPascal has / for real division, but div for (truncated) integer division.
- AnimalMuppet 10y agoSo it had + for "integer addition, but can overflow", and what for "real" addition? My point is that separating "real" division from integer division is... a bit artificial? Not totally mistaken - there are differences - and yet calling one "real" is going a bit too far. All of these models of arithmetic suffer from the limitations of their representation. In all cases, you'd better be aware of what those limitations are...