tarcieri/micromath

Embedded Rust arithmetic, 2D/3D vector, and statistics library

Rust

490

162 commits

updated Sep 7, 2024

See the code

README

Crate Docs Build Status Safety Dance MSRV Apache 2.0/MIT Licensed

Embedded-friendly (i.e. no_std) Rust math library featuring fast, safe floating point approximations for common arithmetic operations, trigonometry, 2D/3D vector types, statistical analysis, and quaternions.

Optimizes for performance and small code size at the cost of precision.

Documentation

Minimum Supported Rust Version

Requires Rust 1.62 or newer.

SemVer Policy

We reserve the right to change the following in future releases with a minor version bump only:

  • MSRV
  • num-traits version (optional dependency)

Features

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see CODE_OF_CONDUCT.md.

License

Copyright © 2019-2024 Tony Arcieri

Dual licensed under your choice of either of:

Incorporates portions of some tests from the libm crate. Copyright © 2018 Jorge Aparicio and also dual licensed under the Apache 2.0 and MIT licenses.

Project health

Overall

3.7/10

Maintained

0/10

Code review

5/10
OpenSSF Scorecard

crates.io

Latest release

2.1.0 · Oct 31, 2023

Releases this year

0

Significant stargazers

Dániel Buga

140 followers · starred May 2020

Andy Lok

274 followers · starred May 2019

Adam Greig

651 followers · starred Apr 2019

Jeff Muizelaar

148 followers · starred May 2021

tarcieri/micromath

Embedded Rust arithmetic, 2D/3D vector, and statistics library

Rust

490

162 commits

updated Sep 7, 2024

See the code

README

Crate Docs Build Status Safety Dance MSRV Apache 2.0/MIT Licensed

Embedded-friendly (i.e. no_std) Rust math library featuring fast, safe floating point approximations for common arithmetic operations, trigonometry, 2D/3D vector types, statistical analysis, and quaternions.

Optimizes for performance and small code size at the cost of precision.

Documentation

Minimum Supported Rust Version

Requires Rust 1.62 or newer.

SemVer Policy

We reserve the right to change the following in future releases with a minor version bump only:

  • MSRV
  • num-traits version (optional dependency)

Features

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see CODE_OF_CONDUCT.md.

License

Copyright © 2019-2024 Tony Arcieri

Dual licensed under your choice of either of:

Incorporates portions of some tests from the libm crate. Copyright © 2018 Jorge Aparicio and also dual licensed under the Apache 2.0 and MIT licenses.

Project health

Overall

3.7/10

Maintained

0/10

Code review

5/10
OpenSSF Scorecard

crates.io

Latest release

2.1.0 · Oct 31, 2023

Releases this year

0

Significant stargazers

Dániel Buga

140 followers · starred May 2020

Andy Lok

274 followers · starred May 2019

Adam Greig

651 followers · starred Apr 2019

Jeff Muizelaar

148 followers · starred May 2021