News for hackers. Stuff that matters.
Re:On Binary Search by userbinator on Thursday October 31, 2019 @07:48AM (#21407677)

    let mid = Math.floor((low + high) / 2);
I don't know if JS has the same problem with overflow, but seeing that expression always reminds me of https://news.ycombinator.com/item?id=14906429
Re:On Binary Search by dsego on Thursday October 31, 2019 @08:41AM (#21408070)
JS only has 64-bit floats.