Vectorized / solady

Optimized Solidity snippets.
MIT License
2.29k stars 306 forks source link

♻️ Make sqrtWad and cbrtWad monotonically increasing #947

Closed Vectorized closed 4 weeks ago

Vectorized commented 4 weeks ago

Description

Having a montonically increasing approximation is more desirable than an approximation that has more precision for large numbers, as the precision loss relatively small.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

Pull requests with an incomplete checklist will be thrown out.