Registry / utility / float-next-after

float-next-after

JSON →
library2.0.0rscratesunverified

A trait for native rust f64/f32 nextafter.

# Cargo.toml [dependencies] float_next_after = "2.0.0"
INSTALL
IMPORT
SIG · FLOAT-NEXT-AFTER
F
float-next-after
utilityrustv2.0.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.

NextAfter
use float_next_after::NextAfter;

Computes the next representable floating-point value after a given number.

use float_next_after::NextAfter; fn main() { let x = 1.0f64; let next = x.next_after(2.0); println!("Next after: {}", next); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
float-next-after — cargo add float-next-after · libregistry