#floating-point #decimal #intel #port #math #decimal128

decmathlib-rs

Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust

3 releases (breaking)

0.3.0 Mar 29, 2024
0.2.0 Mar 13, 2024
0.1.0 Mar 7, 2024

#340 in Algorithms

Download history 152/week @ 2024-03-04 110/week @ 2024-03-11 7/week @ 2024-03-18 152/week @ 2024-03-25 61/week @ 2024-04-01

336 downloads per month

MIT license

2MB
31K SLoC

decmathlib-rs

Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust.

Rust learning project.

Badges

MIT License Build Status GitHub last commit Downloads

Acknowledgements

License

MIT

Build Locally

Clone the project

  git clone https://github.com/carlosga/decmathlib-rs

Go to the project directory

  cd decmathlib-rs

Build (Cargo)

  cargo build

Running Tests

To run tests, run the following command

  cargo test

To include the serde serialization/deserialization tests, run the following command

  cargo test --features serde

Dependencies

~0–13MB
~153K SLoC