You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reliably doing NaN payloads is a lot of manual work as long as Rust doesn't preserve them in conversion (or offers an API that converts float preserving/truncating NaN sign, signalling status and payload).
I did the full preservation rules (as described in the cde draft) in my diagnostic notation parser -- definitely no recommendation to do it precisely this way (lots of cleanup and simplifications required), just to show that it can be done, and takes fiddling with .as_bits().
Is there an existing issue for this?
Code of Conduct
Current Behaviour
Seems to be this line
case(-core::f64::NAN, val!(-core::f64::NAN), "f9fe00", false, Float), // Not In RFC
in this fileciborium/ciborium/tests/codec.rs
Lines 223 to 224 in fdf3ec5
Expected Behaviour
Test should pass
Environment Information
Github CI
What's odd that it only seems to affect
release
tests on Stable, Beta, and Nightly releases of Rust. Debug tests on 1.70, Stable, Beta, Nightly pass.Steps To Reproduce
cargo +stable test --workspace --release
The text was updated successfully, but these errors were encountered: