#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

#176 in Math

Download history 2756/week @ 2023-12-23 2038/week @ 2023-12-30 2957/week @ 2024-01-06 2747/week @ 2024-01-13 3111/week @ 2024-01-20 3039/week @ 2024-01-27 2900/week @ 2024-02-03 3741/week @ 2024-02-10 2665/week @ 2024-02-17 3347/week @ 2024-02-24 5810/week @ 2024-03-02 4214/week @ 2024-03-09 4290/week @ 2024-03-16 5107/week @ 2024-03-23 3801/week @ 2024-03-30 3589/week @ 2024-04-06

17,295 downloads per month
Used in 151 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