simde
simde copied to clipboard
Add overflow values to the tests
Examples from https://github.com/simd-everywhere/simde/pull/685
SIMDE_FLOAT32_C(-2147483650.0)
SIMDE_FLOAT32_C( 2147483649.0)
SIMDE_FLOAT64_C(-2147483650.0)
SIMDE_FLOAT64_C( 2147483649.0)
The procedure is:
- Find tests that use
SIMDE_FLOAT32_C
orSIMDE_FLOAT64_C
in theirtest_vec
- Copy-n-paste an entry in the
test_vec
, modifying the inputs using the overflow values above. Don't worry about changing the expected result (r
) yet. - Run the tests on a processor that supports the native intrinsic. Copy the correct output values from the error logs.
- Send a PR
- Repeat!