Registry / utility / noisy-float

noisy-float

JSON →
library0.2.1rscratesunverified

Provides floating point types that panic when set to illegal values like NaN, ensuring numerical safety.

# Cargo.toml [dependencies] noisy_float = "0.2.1"
INSTALL
IMPORT
SIG · NOISY-FLOAT
N
noisy-float
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.

R32
use noisy_float::prelude::*;

Creates a noisy float that panics on NaN assignment.

use noisy_float::prelude::*; let x = R32::new(3.14); println!("Value: {}", x); // let nan = R32::new(f32::NAN); // This would panic
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
4 hits · last 30 days
node
4
Resources
noisy-float — cargo add noisy-float · libregistry