#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

#41 in No standard library

Download history 836/week @ 2024-07-22 1735/week @ 2024-07-29 1423/week @ 2024-08-05 1721/week @ 2024-08-12 1731/week @ 2024-08-19 1228/week @ 2024-08-26 1757/week @ 2024-09-02 614/week @ 2024-09-09 2042/week @ 2024-09-16 642/week @ 2024-09-23 336/week @ 2024-09-30 1462/week @ 2024-10-07 2009/week @ 2024-10-14 577/week @ 2024-10-21 1574/week @ 2024-10-28 413/week @ 2024-11-04

5,213 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