#statistical-analysis #arithmetic-operations #vector #vector-math #quaternions #statistics

no-std micromath

Embedded-friendly math library featuring fast floating point approximations (with small code size) 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

18 releases (6 stable)

2.1.0 Oct 31, 2023
2.0.0 May 15, 2021
2.0.0-pre Apr 25, 2021
1.1.1 Mar 27, 2021
0.3.1 May 11, 2019

#11 in Embedded development

Download history 10369/week @ 2024-08-05 11693/week @ 2024-08-12 10598/week @ 2024-08-19 12030/week @ 2024-08-26 14035/week @ 2024-09-02 9794/week @ 2024-09-09 11349/week @ 2024-09-16 11314/week @ 2024-09-23 9331/week @ 2024-09-30 8135/week @ 2024-10-07 10466/week @ 2024-10-14 10031/week @ 2024-10-21 10156/week @ 2024-10-28 10223/week @ 2024-11-04 10115/week @ 2024-11-11 9575/week @ 2024-11-18

41,115 downloads per month
Used in 254 crates (56 directly)

Apache-2.0 OR MIT

220KB
6K SLoC

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.47 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-2021 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.

Dependencies