Registry / utility / libmath

libmath

JSON →
library0.2.1rscratesunverified

Provides mathematical utility functions and constants.

# Cargo.toml [dependencies] libmath = "0.2.1"
INSTALL
IMPORT
SIG · LIBMATH
L
libmath
utilityrustv0.2.1
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.

gcd
use libmath::gcd;

Compute the greatest common divisor of two numbers.

use libmath::gcd; fn main() { let result = gcd(12, 8); println!("GCD of 12 and 8 is {}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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