zig
zig copied to clipboard
behavior test failure aarch64-windows: @log2 with vectors
Zig Version
0.11.0-dev.343+4e078941d
Steps to Reproduce and Observed Behavior
$ zig.exe test .\test\behavior\floatop.zig -Itest
Test [17/43] test.@log2 with vectors... FAIL (TestUnexpectedResult)
C:\Users\kubko\dev\zig\stage3\lib\zig\std\testing.zig:347:14: 0x7ff63216101f in expect (test.exe.obj)
if (!ok) return error.TestUnexpectedResult;
^
C:\Users\kubko\dev\zig\test\behavior\floatop.zig:431:5: 0x7ff63216494b in testLog2WithVectors (test.exe.obj)
try expect(@log2(@as(f32, 1.1)) == result[0]);
^
C:\Users\kubko\dev\zig\test\behavior\floatop.zig:425:5: 0x7ff632164a97 in test.@log2 with vectors (test.exe.obj)
try testLog2WithVectors();
^
42 passed; 0 skipped; 1 failed.
error: the following test command failed with exit code 1:
C:\Users\kubko\dev\zig\zig-cache\o\30aba4e4cc42ad34f3bdab8648f40600\test.exe
Expected Behavior
All tests should pass.