Truncation rounds negative numbers upwards, and positive numbers downwards. Floor rounds all numbers downwards, and ceiling rounds all numbers upwards. Is there a term/notation/whatever for the fourth operation, which rounds negative numbers downwards, and positive numbers upwards? That is, one which maximizes magnitude as truncation minimizes magnitude?
2026-04-24 20:27:53.1777062473
truncate, ceiling, floor, and...?
554 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
The fourth operation is called "round towards infinity" or "round away from zero". It can be implemented by
$$y=\text{sign} (x)\text{ceil}(|x|)$$