zig icon indicating copy to clipboard operation
zig copied to clipboard

libstd test fails on aarch64-windows: log2

Open kubkon opened this issue 4 years ago • 0 comments

Zig Version

0.11.0-dev.371+9d0ea0e3f

Steps to Reproduce and Observed Behavior

$ zig.exe build test-std
Test [359/1557] test.log2... FAIL (TestUnexpectedResult)
C:\Users\kubko\dev\zig\lib\std\testing.zig:347:14: 0x7ff6710626c3 in expect (test.exe.obj)
    if (!ok) return error.TestUnexpectedResult;
             ^
C:\Users\kubko\dev\zig\lib\std\math\log2.zig:46:5: 0x7ff671281b4b in test.log2 (test.exe.obj)
    try expect(log2(@as(f64, 0.2)) == @log2(0.2));
    ^

Expected Behavior

All tests should pass.

kubkon avatar Nov 29 '22 20:11 kubkon