uint icon indicating copy to clipboard operation
uint copied to clipboard

Rust Uint crate using const-generics

Results 107 uint issues
Sort by recently updated
recently updated
newest added

*On 2022-10-24 @recmo wrote in [`fb3aa20`](https://github.com/recmo/uint/commit/fb3aa200dea389e2d1b0a23981da48a77a08b738) “Merge pull request #172 from recmo/div2”:* Rewrite in a way that avoids bounds-checks without unsafe. ```rust /// [`div_nx2_normalized`] but does the shifting of the...

tracker
to do

*On 2022-10-24 @recmo wrote in [`fb3aa20`](https://github.com/recmo/uint/commit/fb3aa200dea389e2d1b0a23981da48a77a08b738) “Merge pull request #172 from recmo/div2”:* Version with in-place shifting of `u` ```rust /// /// Requires `divisor` to be in the range $[2^{127}, 2^{128})$...

tracker
optimize

*On 2022-10-24 @recmo wrote in [`fb3aa20`](https://github.com/recmo/uint/commit/fb3aa200dea389e2d1b0a23981da48a77a08b738) “Merge pull request #172 from recmo/div2”:* Rewrite in a way that avoids bounds-checks without unsafe. ```rust /// [MG10]: https://gmplib.org/~tege/division-paper.pdf /// /// # Panics ///...

tracker
to do

*On 2022-10-24 @recmo wrote in [`fb3aa20`](https://github.com/recmo/uint/commit/fb3aa200dea389e2d1b0a23981da48a77a08b738) “Merge pull request #172 from recmo/div2”:* Version with in-place shifting of `u` ```rust /// The divisor must be normalized. See algorithm 7 from [MG10]....

tracker
optimize

*On 2022-10-24 @recmo wrote in [`fb3aa20`](https://github.com/recmo/uint/commit/fb3aa200dea389e2d1b0a23981da48a77a08b738) “Merge pull request #172 from recmo/div2”:* carry` and `borrow` can probably be merged into a single var. ```rust /// \begin{aligned} /// \mathsf{lhs'} &= \mod{\mathsf{lhs}...

tracker
optimize

*On 2022-06-11 @recmo wrote in [`96d1dc6`](https://github.com/recmo/uint/commit/96d1dc674f20186f54a8d74c39b81cc137bb4394) “Merge pull request #146 from recmo/support2”:* Implement the `BigInteger` trait. ```rust #![cfg_attr(has_doc_cfg, doc(cfg(feature = "ark-ff")))] use crate::{ToFieldError, Uint}; use ark_ff::{biginteger::*, fields::models::*, PrimeField}; // FEATURE:...

tracker
feature

*On 2022-06-11 @recmo wrote in [`ac23d9d`](https://github.com/recmo/uint/commit/ac23d9dd741b8fb77742065a2bbcca7139876877) “Merge pull request #140 from recmo/test-time”:* Increase cases when perf is better. ```rust #[test] fn test_gcd_extended() { const_for!(BITS in SIZES { const LIMBS: usize...

tracker
to do

*On 2022-06-11 @recmo wrote in [`ac23d9d`](https://github.com/recmo/uint/commit/ac23d9dd741b8fb77742065a2bbcca7139876877) “Merge pull request #140 from recmo/test-time”:* Increase cases when perf is better. ```rust #[test] fn test_gcd() { const_for!(BITS in SIZES { const LIMBS: usize...

tracker
to do

*On 2022-06-11 @recmo wrote in [`ac23d9d`](https://github.com/recmo/uint/commit/ac23d9dd741b8fb77742065a2bbcca7139876877) “Merge pull request #140 from recmo/test-time”:* Increase cases when perf is better. ```rust #[test] fn test_from_uint_proptest() { const_for!(BITS in SIZES { const LIMBS: usize...

tracker
to do

*On 2022-06-11 @recmo wrote in [`ac23d9d`](https://github.com/recmo/uint/commit/ac23d9dd741b8fb77742065a2bbcca7139876877) “Merge pull request #140 from recmo/test-time”:* Increase cases when perf is better. ```rust #[test] fn test_inv() { const_for!(BITS in NON_ZERO { const LIMBS: usize...

tracker
to do