Skip to content

Spurious test fails in Add #162

@pmglr

Description

@pmglr
Randomness seeded to: 3043489734

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vctr_test is a Catch2 v3.8.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
Addition in place - PlatformVectorOps<std::complex<float>>
-------------------------------------------------------------------------------
/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:45
...............................................................................

/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:76: FAILED:
  REQUIRE_THAT( mac1[i].real(), Catch::Matchers::WithinRel ((srcA[i] + srcB[i] * srcC[i]).real(), eps) )
with expansion:
  6.740501881f and 6.7403564453125 are within 0.001% of each other

-------------------------------------------------------------------------------
Addition in place - AVX<std::complex<float>>
-------------------------------------------------------------------------------
/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:45
...............................................................................

/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:76: FAILED:
  REQUIRE_THAT( mac1[i].real(), Catch::Matchers::WithinRel ((srcA[i] + srcB[i] * srcC[i]).real(), eps) )
with expansion:
  6.740501881f and 6.7403564453125 are within 0.001% of each other

-------------------------------------------------------------------------------
Addition in place - SSE<std::complex<float>>
-------------------------------------------------------------------------------
/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:45
...............................................................................

/Users/runner/work/VCTR/VCTR/test/TestCases/Expressions/Add.cpp:76: FAILED:
  REQUIRE_THAT( mac1[i].real(), Catch::Matchers::WithinRel ((srcA[i] + srcB[i] * srcC[i]).real(), eps) )
with expansion:
  6.740501881f and 6.7403564453125 are within 0.001% of each other

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions