#float #floating-point #numbers #precision #capabilities #amplify #octuple

no-std amplify_apfloat

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

6 releases

0.3.0 Feb 15, 2024
0.2.0 Feb 6, 2023
0.1.4 Feb 1, 2023
0.1.3 Jun 12, 2022
0.1.1 Feb 21, 2022

#112 in No standard library

Download history 1764/week @ 2023-12-23 977/week @ 2023-12-30 458/week @ 2024-01-06 440/week @ 2024-01-13 508/week @ 2024-01-20 641/week @ 2024-01-27 1119/week @ 2024-02-03 1490/week @ 2024-02-10 470/week @ 2024-02-17 1604/week @ 2024-02-24 1363/week @ 2024-03-02 1830/week @ 2024-03-09 1328/week @ 2024-03-16 1404/week @ 2024-03-23 744/week @ 2024-03-30 1005/week @ 2024-04-06

4,747 downloads per month
Used in 43 crates (via amplify)

MIT/Apache

150KB
2.5K 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 (u2 to u7), custom bit-sized numbers (like u24) 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.60.0. Rust edition 2021.

Dependencies

~265–750KB
~14K SLoC