oneDPL
oneDPL copied to clipboard
Not all value checks using type epsilon
Not all value checks using type epsilon as in the code
const auto eps = std::numeric_limits<T>::epsilon();
__is_error = std::fabs(T(expected) - T(actual)) >= eps;
For example - if (!(expected[k] == actual[k]))
in this file and etc.
This different behavior were introduced in the PR https://github.com/oneapi-src/oneDPL/pull/1233