#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

#172 in Math

Download history 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 4109/week @ 2024-04-06 3761/week @ 2024-04-13 4154/week @ 2024-04-20 3426/week @ 2024-04-27 4521/week @ 2024-05-04 2800/week @ 2024-05-11

15,617 downloads per month
Used in 154 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