Crates.io | screaming_float |
lib.rs | screaming_float |
version | 0.1.1 |
source | src |
created_at | 2020-09-17 22:50:33.655753 |
updated_at | 2020-09-17 23:24:34.570306 |
description | Implements screaming NaNs |
homepage | |
repository | https://github.com/exists-forall/screaming_float |
max_upload_size | |
id | 289936 |
size | 28,780 |
screaming_float
It's a variant of noisy_float
that screams whenever you create a NaN
.
Like this:
use screaming_float::s64;
fn main() {
s64(0.0) / s64(0.0); // screams
}
Please don't use this.