Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement sqrt with higher precision #34

Open
Alexangelj opened this issue May 22, 2023 · 1 comment
Open

Implement sqrt with higher precision #34

Alexangelj opened this issue May 22, 2023 · 1 comment

Comments

@Alexangelj
Copy link
Contributor

The solmate sqrt is good for inputs in WAD 1E18 units. The output value has precision of 1E9.

We need a sqrt that can take an input in at least 1E27 units and output higher precision than 1E9.

@Alexangelj
Copy link
Contributor Author

Alexangelj commented May 22, 2023

The sqrt limits the precision in the case exp(-2) < x < 1 - exp(2) of the Ndtri.ndtri(x) funciton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant