Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor Halley's method to reduce overflow or divide by zero
* thanks @person142 for the improvement! * store newton_step = fval / fder to avoid redundant calculations
- Loading branch information