decimal
Decimal Floating Point arithmetic for rust based on the decNumber library.
The library provides d128 which is a 128-bit decimal floating point number. You can use it as other primitive numbers in Rust. All operators are overloaded to allow ergonomic use of this type.
To emulate literals a macro is used d128!
.
Example
let x = d128!;
let y = d128!;
let z = d128!;
assert_eq;
Running the decTest test suite