screaming_float

Crates.ioscreaming_float
lib.rsscreaming_float
version0.1.1
sourcesrc
created_at2020-09-17 22:50:33.655753
updated_at2020-09-17 23:24:34.570306
descriptionImplements screaming NaNs
homepage
repositoryhttps://github.com/exists-forall/screaming_float
max_upload_size
id289936
size28,780
William Brandon (exists-forall)

documentation

README

screaming_float

What is it?

It's a variant of noisy_float that screams whenever you create a NaN.

How does it work?

Like this:

use screaming_float::s64;

fn main() {
    s64(0.0) / s64(0.0); // screams
}

Disclaimers

Please don't use this.

Commit count: 4

cargo fmt