Re:1.5 is the midpoint between 0 and infinity in Ruby
by MauranKilom on Friday November 27, 2020 @05:41AM
(#25227445)
> they could get rid of it by bisecting on [1/n; n] instead of [0; n], as they already know that 1/n (and numbers lower than 1/n) isn't a valid candidate from the first step.
Did you mean [n/2; n]?