Registry / utility / decorum

decorum

JSON →
library0.4.0rscratesunverified

Total ordering, equivalence, hashing, and constraints for floating-point types.

# Cargo.toml [dependencies] decorum = "0.4.0"
INSTALL
IMPORT
SIG · DECORUM
D
decorum
utilityrustv0.4.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.

R32
✓ use decorum::R32;

Creates ordered floating-point values that implement total ordering.

use decorum::R32; fn main() { let a = R32::new(1.0); let b = R32::new(2.0); assert!(a < b); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
decorum — cargo add decorum · libregistry