Hacker News new | ask | show | jobs
by thaumasiotes 3826 days ago
> for an interval [a, b], multiplying two numbers c, d within that interval will be within [aa, bb]

This only works when a is nonnegative. For example, the range of [-1, 1] under self-multiplication is [-1, 1], not [1, 1].