#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

#10 in Embedded development

Download history 9656/week @ 2024-07-20 9070/week @ 2024-07-27 9752/week @ 2024-08-03 11668/week @ 2024-08-10 11177/week @ 2024-08-17 11283/week @ 2024-08-24 14518/week @ 2024-08-31 10185/week @ 2024-09-07 10817/week @ 2024-09-14 11438/week @ 2024-09-21 9647/week @ 2024-09-28 8217/week @ 2024-10-05 9964/week @ 2024-10-12 9994/week @ 2024-10-19 9787/week @ 2024-10-26 11206/week @ 2024-11-02

41,980 downloads per month
Used in 252 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