-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Codegen-meta-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime
Milestone
Description
From the logs, the Assert.False is failing
| Assert.False(new Vector<float>(i) == new Vector<float>(j)); |
It is tough to tell which nan value is the cause:
runtime/src/libraries/System.Numerics.Vectors/tests/GenericVectorTests.cs
Lines 881 to 884 in 51f7639
| float.CopySign(float.NaN, -0.0f), // -qnan same as float.NaN | |
| float.CopySign(float.NaN, +0.0f), // +qnan | |
| float.CopySign(snan, -0.0f), // -snan | |
| float.CopySign(snan, +0.0f), // +snan |
Stack trace:
Assert.False() Failure\nExpected: False\nActual: True
at System.Numerics.Tests.GenericVectorTests.VectorSingleEqualsNonCanonicalNaNTest() in /_/src/libraries/System.Numerics.Vectors/tests/GenericVectorTests.cs:line 893
at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)]]
Assert.False() Failure\nExpected: False\nActual: True
at System.Numerics.Tests.GenericVectorTests.VectorDoubleEqualsNonCanonicalNaNTest() in /_/src/libraries/System.Numerics.Vectors/tests/GenericVectorTests.cs:line 869
at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)]]
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Metadata
Metadata
Assignees
Labels
area-Codegen-meta-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime