#integer #pattern #wrap #num

no-std amplify_num

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

13 releases

0.5.2 Feb 15, 2024
0.5.1 Dec 16, 2023
0.5.0 Feb 1, 2023
0.4.1 May 10, 2022
0.1.2 Jun 29, 2021

#169 in Math

Download history 2255/week @ 2024-01-03 2778/week @ 2024-01-10 3120/week @ 2024-01-17 2889/week @ 2024-01-24 3698/week @ 2024-01-31 2649/week @ 2024-02-07 3495/week @ 2024-02-14 3176/week @ 2024-02-21 4509/week @ 2024-02-28 4986/week @ 2024-03-06 4334/week @ 2024-03-13 4919/week @ 2024-03-20 4343/week @ 2024-03-27 3559/week @ 2024-04-03 3626/week @ 2024-04-10 3610/week @ 2024-04-17

16,228 downloads per month
Used in 153 crates (3 directly)

Apache-2.0

165KB
3.5K SLoC

Amplifying rust number types

Build Tests Lints codecov

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

~0–520KB