Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cuberoot: Apply first iteration explicitly (#11)
Applying the first iteration explicitly appears to speed up the cuberoot function by a bit over 20%: Before: Halley Final: 0.14174999999999999 After: Halley Final: 0.11080000000000001 There is an assumption that compilers will precompute the constants like `0.7 * (0.7)**3`, and that all will do so in the same manner.
- Loading branch information