Closed Pomax closed 5 years ago
@devongovett ?
Bump, again, because it's getting new issues filed over it. Can this be landed @devongovett?
@devongovett switched **
to Math.pow and added a test to the PR to catch any future regression.
Thanks @Pomax!
The spec for the searchRange and entrySelector specifies the following constraints:
But the code was computing
searchRange
as just the power index, not the actual power of two that it should be.Fixes #149 Fixes #179