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
$ zig run test.zigthread 23687446 panic: integer part of floating point value out of bounds/Users/linus/Dev/kiesel/test.zig:6:20: 0x1047e0f7b in main (a) const i: i32 = @intFromFloat(f); ^/Users/linus/zig/0.14.0-dev.2474+ee47094a3/files/lib/std/start.zig:647:22: 0x1047e0983 in main (a) root.main(); ^
Zig Version
0.14.0-dev.2474+ee47094a3
Steps to Reproduce and Observed Behavior
Expected Behavior
Works fine on Linux:
Also works fine up to 32784 which rounds to 32768 (see https://float.exposed/32784).
The text was updated successfully, but these errors were encountered: