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 2024-04-20 @prestwich wrote in [`46fc569`](https://github.com/recmo/uint/commit/46fc5693251886b0a6aca769ee16bc50145a6173) “Merge pull request #366 from DaniPopes/perfington1”:* Replace with `u64::borrowing_sub` once stable. ```rust /// whether an arithmetic overflow would occur. If an overflow would have...

tracker
to do

*On 2024-04-20 @prestwich wrote in [`46fc569`](https://github.com/recmo/uint/commit/46fc5693251886b0a6aca769ee16bc50145a6173) “Merge pull request #366 from DaniPopes/perfington1”:* Replace with `u64::carrying_add` once stable. ```rust /// an arithmetic overflow would occur. If an overflow would have occurred...

tracker
to do

**Is your feature request related to a problem? Please describe.** In situations like: - https://github.com/kkrt-labs/kakarot-rpc/blob/e09b452b258d6ef1f6f12c44d856f178cfa870a3/src/eth_provider/utils.rs#L45-L51 - https://github.com/dojoengine/dojo/blob/f0637f928470217fccd60fe15b1b9c6fefd5c984/crates/katana/primitives/src/utils/mod.rs#L11-L15 it is useful to have a method that splits a uint but this...

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. Release notes Sourced from actions/cache's releases. v4.0.0 What's Changed Update action to node20 by @​takost in actions/cache#1284 feat: save-always flag by @​to-s in actions/cache#1242...

dependencies
github_actions

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...

dependencies
github_actions

I noticed a possible inconsistency between documentation and code implementation in uint/src/algorithms/gcd/matrix.rs. The details can be found in the following code. The document require checking r1 >= r0, but the...

documentation
to do

`Uint::::from_str("")` always parses successfully as 0.

question

**Is your feature request related to a problem? Please describe.** Currently ruint types add leading 0s in the debug and hex formatting impls, but Rust's own primitive types do not...

See https://github.com/axiom-crypto/snark-verifier/issues/43 for a cargo bisect. In short, for very unknown reasons, the change from `ruint` v1.10 -> v1.11 has caused something to change in how the recent rustc compilers...