Skip to content

[RF] compiler-dependent RooNaNPacker tests #15908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egpbos
Copy link
Contributor

@egpbos egpbos commented Jun 21, 2024

Like the tests added in e00aded, these are also sanity checks meant in part as code-as-documentation for users to see how things work.

It turns out in this case that GCC on the one hand and Clang and MSVC on the other hand have two different solutions for binary arithmetic operations on two NaNs. In both cases, one of the two NaNs is returned, but in one case it's the first, in the other is it's the second.

The tests added in this commit will hopefully warn RooNaNPacker users of this behavior.

These are also sanity checks meant in part as code-as-documentation for users to see how things work.
It turns out that GCC on the one hand and Clang and MSVC on the other hand have two different solutions for binary arithmetic operations on two NaNs. In both cases, one of the two NaNs is returned, but in one case it's the first, in the other is it's the second. The tests added in this commit will hopefully warn RooNaNPacker users of this behavior.
@egpbos egpbos changed the title [RF] additional RooNaNPacker tests [RF] compiler-dependent RooNaNPacker tests Jun 21, 2024
Copy link

github-actions bot commented Jun 21, 2024

Test Results

    18 files      18 suites   4d 6h 52m 21s ⏱️
 2 678 tests  2 676 ✅ 0 💤  2 ❌
46 484 runs  46 474 ✅ 0 💤 10 ❌

For more details on these failures, see this check.

Results for commit 97d322c.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants