dtolnay / serde-yaml

Strongly typed YAML library for Rust
Apache License 2.0
964 stars 164 forks source link

Ensure that .nan deserialization produces positive NaN #392

Closed dtolnay closed 1 year ago

dtolnay commented 1 year ago

I learned in https://github.com/rust-lang/miri/issues/3139 that the sign of f64::NAN is not specified.