Preserve signed zero on roundtrip
This commit removes the previous mechanism of differentiating between "Debug" and "Display" formattings for the sign of -0 so as to comply with the IEEE 754 standard's requirements on external character sequences preserving various attributes of a floating point representation. In addition, numerous tests are fixed.
This commit is contained in:
parent
588cc644ad
commit
74db93ed2d
5 changed files with 102 additions and 200 deletions
|
|
@ -51,7 +51,7 @@
|
|||
}
|
||||
|
||||
bb2: {
|
||||
discriminant(_6) = 2; // scope 1 at $DIR/funky_arms.rs:21:17: 21:41
|
||||
discriminant(_6) = 1; // scope 1 at $DIR/funky_arms.rs:21:17: 21:41
|
||||
goto -> bb4; // scope 1 at $DIR/funky_arms.rs:19:16: 22:6
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue