Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect against potential floating-point overflows when determining b…
…eta. Otherwise, the numerator of the midpoint calculation in the binary search could overflow, even if the value of the midpoint itself was fine. Admittedly, this should not be possible as the operands should be well below the float limits, but better safe than sorry.
- Loading branch information