Skip to content

behavior.maximum_minimum.test.@min/max for floats fails on mips64*-linux-* #21090

@alexrp

Description

@alexrp

Zig Version

708414a

Steps to Reproduce and Observed Behavior

zig test -target mips64-linux test/behavior/maximum_minimum.zig --test-cmd qemu-mips64 --test-cmd-bin

5/16 maximum_minimum.test.@min/max for floats...FAIL (TestExpectedEqual)
/home/alexrp/Source/zig/lib/std/testing.zig:97:17: 0x10e1e8f in expectEqualInner__anon_16662 (test)
                return error.TestExpectedEqual;
                ^
/home/alexrp/Source/zig/test/behavior/maximum_minimum.zig:134:13: 0x10e1ff7 in doTheTest__anon_16655 (test)
            try expectEqual(x, @min(x, y));
            ^
/home/alexrp/Source/zig/test/behavior/maximum_minimum.zig:151:9: 0x10e25db in test.@min/max for floats (test)
        try S.doTheTest(T);
        ^

The failure is specific to the c_longdouble case.

Expected Behavior

No failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-mips6464-bit MIPSbackend-llvmThe LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions