Registry / other / micromath

micromath

JSON →
library2.1.0rscratesunverified

Embedded-friendly math library with fast floating-point approximations, 2D/3D vectors, statistics, and quaternions.

# Cargo.toml [dependencies] micromath = "2.1.0"
INSTALL
IMPORT
SIG · MICROMATH
M
micromath
otherrustv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Vector3d
use micromath::vector::Vector3d;

Create a 3D vector and compute its length

use micromath::vector::Vector3d; let v = Vector3d::new(1.0, 2.0, 3.0); println!("Length: {}", v.length());
Debug
Known issues
gotchaUses approximations that may have reduced precision compared to standard library
fix
Verify precision requirements for your application
affects: >=2.0.0
Upgrade
Version history
2.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
micromath — cargo add micromath · libregistry