#floating-point #precision #float #numbers #back-end #integer #octuple

no-std amplify_apfloat

rustc_apfloat with u256 backend to utilize Octuple precision floating-point format

7 releases

0.3.1 Aug 5, 2024
0.3.0 Feb 15, 2024
0.2.0 Feb 6, 2023
0.1.4 Feb 1, 2023
0.1.1 Feb 21, 2022

#40 in No standard library

Download history 741/week @ 2024-07-17 1372/week @ 2024-07-24 1624/week @ 2024-07-31 1182/week @ 2024-08-07 2326/week @ 2024-08-14 950/week @ 2024-08-21 1598/week @ 2024-08-28 1395/week @ 2024-09-04 1192/week @ 2024-09-11 1445/week @ 2024-09-18 638/week @ 2024-09-25 418/week @ 2024-10-02 1724/week @ 2024-10-09 1940/week @ 2024-10-16 255/week @ 2024-10-23 1749/week @ 2024-10-30

5,713 downloads per month
Used in 43 crates (via amplify)

MIT/Apache

315KB
6K 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 (u1 to u7), custom bit-sized numbers (like u24, u48, u56) 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.61.0. Rust edition 2021.

Dependencies

~75–550KB
~10K SLoC