book
book copied to clipboard
Fix ch03-02-data-types: rounding of integer division
Example:
let x = -5 / 2;
// x == -2
If it is "rounding down", then x == -3. But for -2 I think "rounding towards zero" is much more precise.