You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a BigNum is a number modulo the modulus you are using, the concept of a "negative" element doesn't really exist. Also, when you use the predefined sets U256, U384, U512 etc, those are for unsigned integers.
On the other hand, when working modulo a number p, there is a wrap around so p-x would be the representation for "-x" and you could do arithmetic with those values. Edit: for example, neg functionality is available see here and this uses the wraparound, see here)
The README was updated yesterday, so maybe it's clearer now
Can't find anything in the README
The text was updated successfully, but these errors were encountered: