Use an integer format that supports any integer. #192
Closed
MicroProofs
announced in
Archive
Replies: 1 comment
-
I think there are BigNum crates available which may be useful |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently we use isize or might use i64 and usize or u64 for integers.
Instead we should use a Vec to hold integers and perform large number calculations in chunks of 32 bits.
The idea is for smaller numbers we should still have fast computation speed. And super large numbers are rarer.
We can use a struct that holds the Vec plus another field for positive or negative.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions