#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

#45 in No standard library

Download history 1504/week @ 2024-09-20 337/week @ 2024-09-27 472/week @ 2024-10-04 2515/week @ 2024-10-11 1160/week @ 2024-10-18 1013/week @ 2024-10-25 967/week @ 2024-11-01 133/week @ 2024-11-08 374/week @ 2024-11-15 287/week @ 2024-11-22 644/week @ 2024-11-29 324/week @ 2024-12-06 550/week @ 2024-12-13 301/week @ 2024-12-20 138/week @ 2024-12-27 254/week @ 2025-01-03

1,313 downloads per month
Used in 36 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