#rounding #round #utils #common

common_math

A collection of common math functions

8 releases

0.3.0 Jan 23, 2022
0.2.4 Jan 23, 2022
0.2.0 Dec 31, 2021
0.1.1 Dec 30, 2021

#906 in Math

40 downloads per month

MIT/Apache

28KB
546 lines

A collection of common math functions

As its name suggests common_math provides ways to do common math functions more easily than with the standard library alone.

Currently, it only contains rounding functions, however more functions may be added in the future

You can find a changelog here

Modules

  • Rounding - functions for rounding - offers rounding to a number of zeros, decimal places or significant figures

Disclaimer

This project is still in early development and all parts of the api are currently unstable however if there are breaking changes, I will make sure to bump the minor version so cargo won't switch version automatically


lib.rs:

Common Math is a library providing some common math functions not provided by the standard library

Currently this library only provides functions for rounding however more may be added in the future

No runtime deps