Registry / utility / libm
library0.2.16rscratesunverified

Pure Rust implementation of the C mathematical library (libm), providing math functions for no_std environments.

# Cargo.toml [dependencies] libm = "0.2.16"
INSTALL
IMPORT
SIG · LIBM
L
libm
utilityrustv0.2.16
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.

sin
use libm::sin;

Compute the sine of a number using libm.

use libm::sin; let result = sin(1.0); println!("sin(1) = {}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.16latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libm — cargo add libm · libregistry