std.zon writes invalid negative zero #23343
Labels
bug
Observed behavior contradicts documented or intended behavior
standard library
This issue involves writing Zig code for the standard library.
Milestone
Zig Version
0.15.0-dev.64+2a4e06bcb
Steps to Reproduce and Observed Behavior
Expected Behavior
Should've produced
.{ .x = -0.0 }
since-0
is a negative zero int literal which is invalidThe text was updated successfully, but these errors were encountered: