Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 408 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 408 Bytes

decimalfp-rs

Decimal floating point arithmetic in Rust, using the Intel Decimal Floating-Point Math Library.

Conforms to the IEEE 754-2019 decimal floating point standard.

Example

use decimalfp::prelude::*;

let a = d64!(1.0);
let b = d64!(4.7);

let result = a * powi(b, 2);