#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

#177 in Math

Download history 2955/week @ 2024-01-09 2913/week @ 2024-01-16 3052/week @ 2024-01-23 3715/week @ 2024-01-30 2594/week @ 2024-02-06 3335/week @ 2024-02-13 3040/week @ 2024-02-20 3635/week @ 2024-02-27 5756/week @ 2024-03-05 4368/week @ 2024-03-12 4678/week @ 2024-03-19 4433/week @ 2024-03-26 3654/week @ 2024-04-02 4111/week @ 2024-04-09 4083/week @ 2024-04-16 3740/week @ 2024-04-23

15,963 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