crypto-bigint icon indicating copy to clipboard operation
crypto-bigint copied to clipboard

`Pow` for `Wrapping`/`Checked`

Open BrettWitty opened this issue 2 years ago • 4 comments

It appears that neither of these types have the arithmetic for easily computing large powers (apart from shifts to emulate powers-of-two). Is this correct?

BrettWitty avatar Jul 11 '23 12:07 BrettWitty

No, the Pow trait is not currently implemented for those wrappers

tarcieri avatar Jul 12 '23 14:07 tarcieri