#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

#46 in No standard library

Download history 2294/week @ 2024-08-17 965/week @ 2024-08-24 1862/week @ 2024-08-31 814/week @ 2024-09-07 1975/week @ 2024-09-14 659/week @ 2024-09-21 362/week @ 2024-09-28 449/week @ 2024-10-05 2872/week @ 2024-10-12 770/week @ 2024-10-19 1086/week @ 2024-10-26 920/week @ 2024-11-02 119/week @ 2024-11-09 392/week @ 2024-11-16 282/week @ 2024-11-23 629/week @ 2024-11-30

1,460 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

~74–560KB
~10K SLoC