Skip to content

Specific test failures #836

Open
Open
@tgross35

Description

@tgross35

Just making a list of failures that should be turned into xfails or fixed.

My loose plan is to put all of these into a single test file and assert that they fail, then if they get fixed they can be converted to test cases.


i586-unknown-linux-gnu from on rust-lang/libm#379, musl's result is more accurate.

thread 'musl_random_asinhf' panicked at crates/libm-test/tests/compare_built_musl.rs:43:51:
called `Result::unwrap()` on an `Err` value:
    input:    (-0.37330312,) (0xbebf2196,)
    expected: -0.36513534            0xbebaf305
    actual:   -0.36513525            0xbebaf302

i686-unknown-linux-gnu from on rust-lang/libm#379, musl has the incorrect result here. Not sure why this would be, is compiler-rt incorrect?

 thread 'musl_random_fdim' panicked at crates/libm-test/tests/compare_built_musl.rs:43:51:
called `Result::unwrap()` on an `Err` value: 
    input:    (5.1720626866622296e88, -5.1749184040104636e103) (0x5259ffdf64f0d2f8, 0xd5771addd21280b5)
    expected: 5.174918404010469e103  0x55771addd21280bc
    actual:   5.174918404010468e103  0x55771addd21280bb

Caused by:
    ulp 1 > 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    libmIssues relating to libm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions