Skip to content

IEEE-compliant decimal floating point in Rust

Notifications You must be signed in to change notification settings

Jules-Bertholet/decimalfp-rs

Repository files navigation

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);

About

IEEE-compliant decimal floating point in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages