#arbitrary-precision #numeric #floating-point #decimal #math

no-std bigdecimal-no-std

Arbitrary precision decimal numbers

1 unstable release

Uses old Rust 2015

0.4.0 Feb 16, 2023

#2823 in Algorithms

MIT/Apache

105KB
2.5K SLoC

============= bigdecimal-no-std (fork of bigdecimal-rs adding no-std compatibility)

|travis-badge| |codecov-badge| |gitter-badge| |badge-rust-min-version|

Documentation_

Arbitrary-precision decimal numbers implemented for rust.

About

This repository contains code originally meant for a bigdecimal module in the popular num_ crate, but was not merged due to uncertainty of what is the best design for such a crate.

I created this repository to test various implementations and host a conversation about community wants and needs.

License

This code is dual-licensed under the permissive MIT_ & Apache 2.0_ licenses.

.. _Documentation: https://docs.rs/bigdecimal .. _num: https://crates.io/crates/num .. _MIT: https://opensource.org/licenses/MIT .. _Apache 2.0: https://opensource.org/licenses/Apache-2.0

.. |travis-badge| image:: https://travis-ci.org/akubera/bigdecimal-rs.svg?branch=master :target: https://travis-ci.org/akubera/bigdecimal-rs :alt: Travis-Ci

.. |codecov-badge| image:: https://codecov.io/gh/akubera/bigdecimal-rs/branch/master/graph/badge.svg :target: https://codecov.io/gh/akubera/bigdecimal-rs :alt: CodeCov.io

.. |gitter-badge| image:: https://badges.gitter.im/bigdecimal-rs/Lobby.svg :target: https://gitter.im/bigdecimal-rs/Lobby?utm_source=badge&utm_medium=badge :alt: Gitter

.. |badge-rust-min-version| image:: https://img.shields.io/badge/rustc-1.34+-red.svg :target: https://rust-lang.github.io/rfcs/2495-min-rust-version.html :alt: minimum rustc 1.34

Dependencies

~375–630KB
~14K SLoC