Closed gilescope closed 1 year ago
I've implemented integer_sqrt as an inherent method, because the one provided by the crate is slow https://github.com/paritytech/parity-common/pull/554
Nice - should have spotted that feature. Now I just need to get checked add / mul / div / sub supported for U256.
This should cover it: https://github.com/paritytech/parity-common/pull/716
and so IntegerSqrt is not supported. integer-sqrt has a blanket impl for anything that supports the
num_traits::PrimInt
.https://crates.io/crates/integer-sqrt