Simple floating point binary search for JavaScript