-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Hello,
Thanks for the excellent library and bigint comparison. I'm unsure if this functionality is present since the docs do not mention it, but is it possible to create an IBig from an array/slice? It only seems to be possible to create them from strings, and since I already have my values as arrays on the stack it doesn't make much sense to allocate and convert to a string only to parse it and convert back.
I'm writing a small library with very well defined integer limits of at most 32 bytes, so if possible I would like to avoid allocations at all and just do operations on stack arrays.
I also can't find a mod_pow equivalent, is that included?
Thanks :)
Metadata
Metadata
Assignees
Labels
No labels