api.Println working differently sometimes #923
Unanswered
infinite-pursuits
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi -- there is no concept of "negative number" in finite fields; all modern SNARK constructions work with finite fields ("big integer modulo a prime"). |
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
Uh oh!
There was an error while loading. Please reload this page.
-
when I use api.Println, sometimes negative numbers are printed as "-102" for instance but other times it is printed as a big number like "21888242871839275222246405745257275088548364400416034343698204186575807914052" which i believe is also a negative number. Why are negative numbers printed differently?
Beta Was this translation helpful? Give feedback.
All reactions