Skip to content

Commit

Permalink
fix: release mode NaN test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Charles <acharles@outlook.com>
  • Loading branch information
ahmedcharles authored and rjzak committed Feb 19, 2024
1 parent ba48adc commit 6077683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciborium/tests/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ macro_rules! map {
case(core::f64::NAN, val!(core::f64::NAN), "fa7fc00000", true, Float),
case(core::f32::NAN, val!(core::f32::NAN), "fb7ff8000000000000", true, Float),
case(core::f64::NAN, val!(core::f64::NAN), "fb7ff8000000000000", true, Float),
case(-core::f32::NAN, val!(-core::f32::NAN), "f9fe00", false, Float), // Not In RFC
case(-core::f32::NAN, val!(-core::f64::NAN), "f9fe00", false, Float), // Not In RFC
case(-core::f64::NAN, val!(-core::f64::NAN), "f9fe00", false, Float), // Not In RFC
case(-core::f32::NAN, val!(-core::f32::NAN), "faffc00000", true, Float), // Not In RFC
case(-core::f64::NAN, val!(-core::f64::NAN), "faffc00000", true, Float), // Not In RFC
Expand Down

0 comments on commit 6077683

Please sign in to comment.