Unconstrained Functions #3390
Replies: 1 comment 2 replies
-
Yes, unconstrained functions are already implemented in Noir as a feature under the same name. See the relevant section in the documentation: https://noir-lang.org/language_concepts/unconstrained. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I understand that in noir, uncertainty computation is similar to the hints function in Cairo. So, can it support functions like sqrt that are more circuit-efficient and convenient for deploying applications like Uniswap?
Happy Case
before:
after
Alternatives Considered
No response
Additional Context
Many smart contracts require the non-deterministic calculation function of u32_sqrt, such as Uniswap and similar platforms.
Would you like to submit a PR for this Issue?
Maybe
Support Needs
No response
Beta Was this translation helpful? Give feedback.
All reactions