Fix #10926 - Disable fused floating point operations #10931
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request overview
read https://clang.llvm.org/docs/UsersManual.html#cmdoption-ffp-contract
Clang, unlike GCC, sets that to on by default.
Tested this with another branch: https://github.com/NREL/EnergyPlus/tree/10926-baseline
My branch1 is
10926-baseline
On this branch
10926-Diff-Apple
, I checkout develop. I run the1ZoneUncontrolled_win_1
test, and I get diffs between the two branches.(This is essentially the same as if 10926-Diff-Apple was the Window Refactor PR, and
10926-baseline
was develop at that point in time)Then on BOTH branch, I set
-ffp-contract=off
. Rerun the test, diffs are gone.Please see some discussion on 3b856a0#commitcomment-152282537
Pull Request Author
Reviewer