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

Big integer types for Rust

Results 78 num-bigint issues
Sort by recently updated
recently updated
newest added

Add a feature which causes us to run `zeroize()` on `Drop`. It is disabled by default. [zeroize](https://crates.io/crates/zeroize) tries to ensure that the memory inside the object is zeroed on `Drop`,...

For users of this library to use `div_rem` they must add the `num-integer` dependency to their project. It would be more ergonomic if `num-bigint` re-exported this trait so users could...

Hi, Is there any solution for generation of primes, safe primes and prime checking with num-bigint?

question

The line moves f2 into f1 using `replace` but that can be done with assignment (I'm a beginner to rust so it's very likely I've missed something)

I have thought of 2 cases here. one is to know the len (size) of the base 10 output and second is for the 10^n written way of writeing numbers....

I found myself writing this rather ugly function: ```rust // TODO: decompose the function and maybe share the results with the library authors #[cfg(any(test, feature = "num-bigint"))] impl super::GetLastDigitAsU8 for...

from_signed_bytes_be with a 20 byte negative number | time -----------|--------- Currently | 91 ns/iter (+/- 3) Only twos_complement optimization | 88 ns/iter (+/- 2) This PR | 78 ns/iter (+/-...

Hello, I've been using `num-bigint` for `rasn`. I've been working on adding static information about ASN.1's constrained types, and one of things I need for this is having a const...