Support all floating point representations for an 0.5 floating const.
Added missing tests.
Depend on D147906.
Paths
| Differential D147908
[clang-tidy] Add support for long double in bugprone-incorrect-roundings ClosedPublic Authored by PiotrZSL on Apr 10 2023, 12:09 AM.
Details Summary Support all floating point representations for an 0.5 floating const. Depend on D147906.
Diff Detail
Event TimelinePiotrZSL added a parent revision: D147906: [clang-tidy] Avoid float compare in bugprone-incorrect-roundings.Apr 10 2023, 12:15 AM This revision is now accepted and ready to land.Apr 10 2023, 4:39 AM Closed by commit rGaa1642f6cc4a: [clang-tidy] Add support for long double in bugprone-incorrect-roundings (authored by PiotrZSL). · Explain WhyApr 15 2023, 2:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512150 clang-tools-extra/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/incorrect-roundings.cpp
|