Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pascaldekloe/b10

library for decimals
https://github.com/pascaldekloe/b10

Last synced: about 1 month ago
JSON representation

library for decimals

Awesome Lists containing this project

README

        

## Decimal Numbers For The Rust Programming Language

The API provides intuitive and reliable operations at maximum performance. Both
parse and format options strictly preserve the numeric values during conversion.
Aritmetic operations are lossless by design. Numeric overflows are all included
in the result, and there is no rounding unless explictly mentioned otherwise.

* Values in 64 bits instead of arbitrary-precision
* Precissions/resolutions fixed with `const` generics
* Maximised compile-time computation (with generics)

This is free and unencumbered software released into the
[public domain](https://creativecommons.org/publicdomain/zero/1.0).

🚧 No stable release yet. The code base is a learning exercise for Rust in alpha
stage. 🚨