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

realloc picture realloc  路  4Comments

borovik96 picture borovik96  路  4Comments

canesin picture canesin  路  3Comments

igormcoelho picture igormcoelho  路  4Comments

Tommo-L picture Tommo-L  路  4Comments