neo-one icon indicating copy to clipboard operation
neo-one copied to clipboard

Add `Math.sqrt()` API to compiler

Open spencercorwin opened this issue 3 years ago • 0 comments

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 avatar Jul 20 '21 20:07 spencercorwin