Neo: Will there be support to SQRT and POW?

Created on 19 Feb 2021  路  2Comments  路  Source: neo-project/neo

Hi.

Our project needs to use the square root function. Is there any plan to add it to Neo or should we just try to implement it directly in our contracts?
Flamingo uses it as well:
https://github.com/flamingo-finance/flamingo-contract-swap/blob/28c4860344b62ef1c29e12d6496703643a4d04bc/Swap/flamingo-contract-swap/FlamingoSwapPair/FlamingoSwapPairContract.Helper.cs#L44

Thanks

question

Most helpful comment

I think we can add them.

All 2 comments

I think we can add them.

@erikzhang Like OPCODE?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shargon picture shargon  路  4Comments

realloc picture realloc  路  4Comments

vncoelho picture vncoelho  路  3Comments

shargon picture shargon  路  3Comments

Tommo-L picture Tommo-L  路  4Comments