This forum is a read-only archive. Posting, replying and signing in are disabled.

Root of double word

pagito

Is there any way to take root of a double word in TEAL?

Let’s say I have big numbers: 10000000000 * 10000000000 and I my end goal is to calculate sqrt of those numbers multiplied. Using mulw, I’ll get:

5
7766279631452241920

How do I calculate sqrt of this?

fabrice

I do not believe it is currently a supported operation for PyTEAL.

What is your use case?

pagito

It’s AMM. Big numbers are expected, they will be handled by formula.