#integers #num #wrap #patterns

no-std amplify_num

Amplifying numeric types: big-sized and bit-sized integers

11 releases

0.5.0 Feb 1, 2023
0.4.1 May 10, 2022
0.4.0 Feb 20, 2022
0.3.0 Feb 1, 2022
0.1.1 May 28, 2021

#81 in Math

Download history 974/week @ 2022-12-05 1496/week @ 2022-12-12 1808/week @ 2022-12-19 1976/week @ 2022-12-26 1463/week @ 2023-01-02 1384/week @ 2023-01-09 1801/week @ 2023-01-16 2209/week @ 2023-01-23 2803/week @ 2023-01-30 1797/week @ 2023-02-06 1396/week @ 2023-02-13 1873/week @ 2023-02-20 3551/week @ 2023-02-27 2993/week @ 2023-03-06 1297/week @ 2023-03-13 1965/week @ 2023-03-20

10,143 downloads per month
Used in 99 crates (4 directly)

Apache-2.0

155KB
3K SLoC

Amplifying rust number types

Build Tests Lints codecov

crates.io Docs unsafe forbidden Apache-2 licensed

Crates adding more number types to rust: big numbers (from u512 to u4094), small-bit numbers (u2 to u7), custom bit-sized numbers (like u24) and a full range of IEEE-compatible float types.

This is a part of Rust language amplification library amplify.

Minimum supported rust compiler version (MSRV): 1.60.0. Rust edition 2021.

Dependencies

~220KB