3 ms·
Easy to prove too.
by eps 4y ago
Easy to prove too.
- GuB-42 4y agoJust found the proof, that's also how I noticed it doesn't work when one of the denominators is negative. If one of the denominators (not both) is negative, you are guaranteed to be outside of the range.