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

Add Math.sqrt() API to compiler #2520

Open
spencercorwin opened this issue Jul 20, 2021 · 0 comments
Open

Add Math.sqrt() API to compiler #2520

spencercorwin opened this issue Jul 20, 2021 · 0 comments
Labels
area/compiler Categorize issue or PR as compiler (@neo-one/smart-contract-compiler) related good first issue kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed.

Comments

@spencercorwin
Copy link
Collaborator

We can now add a square root API to our smart contract compiler with the new SQRT OpCode. I don't know exactly what it would look like though. Maybe not exactly Math.sqrt() but that's what regular JS would be if we wanted to go above and beyond.

@spencercorwin spencercorwin added kind/feature Categorizes issue or PR as related to a new feature. good first issue area/compiler Categorize issue or PR as compiler (@neo-one/smart-contract-compiler) related priority/important-longterm Important over the long term, but may not be staffed. labels Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compiler Categorize issue or PR as compiler (@neo-one/smart-contract-compiler) related good first issue kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed.
Projects
None yet
Development

No branches or pull requests

1 participant