#floating-point #precision #float #numbers #u256 #back-end #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

#52 in No standard library

Download history 282/week @ 2024-11-23 644/week @ 2024-11-30 319/week @ 2024-12-07 561/week @ 2024-12-14 272/week @ 2024-12-21 145/week @ 2024-12-28 282/week @ 2025-01-04 745/week @ 2025-01-11 483/week @ 2025-01-18 470/week @ 2025-01-25 448/week @ 2025-02-01 424/week @ 2025-02-08 1407/week @ 2025-02-15 335/week @ 2025-02-22 228/week @ 2025-03-01 387/week @ 2025-03-08

2,502 downloads per month
Used in 34 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–560KB
~10K SLoC