#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

#158 in Math

Download history 4291/week @ 2024-03-14 4713/week @ 2024-03-21 4182/week @ 2024-03-28 3689/week @ 2024-04-04 3403/week @ 2024-04-11 5174/week @ 2024-04-18 3240/week @ 2024-04-25 4649/week @ 2024-05-02 2735/week @ 2024-05-09 2555/week @ 2024-05-16 3814/week @ 2024-05-23 3085/week @ 2024-05-30 2653/week @ 2024-06-06 3686/week @ 2024-06-13 4325/week @ 2024-06-20 3717/week @ 2024-06-27

14,987 downloads per month
Used in 158 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