Explanations for options of floating point are updated to match the RenderFloatingPointOptions function in clang/lib/Driver/ToolChains/Clang.cpp.
Missing explanations are also added.
Differential D138117
[clang][docs] Correct floating point option explanations ClosedPublic Authored by kawashima-fj on Nov 16 2022, 4:05 AM.
Details Summary Explanations for options of floating point are updated to match the RenderFloatingPointOptions function in clang/lib/Driver/ToolChains/Clang.cpp. Missing explanations are also added.
Diff Detail Event TimelineComment Actions I don't know it is inteded that -fno-fast-math does not imply -ftrapping-math and -frounding-math. kawashima-fj added a parent revision: D138088: [clang][docs] Use `option` directive in User's Manual.Nov 16 2022, 4:11 AM Comment Actions It would probably be better to make these changes with the appropriate code changes you are making for each semantic mode. And may be keep this patch only for the other changes you are proposing. Comment Actions
I would think that there should be symmetry between ffast-math and fno-fast-math. Unless there is a good reason for it, in which case a comment should be added? @andrew.w.kaylor WDYT? Comment Actions
Sorry, I don't understand what you mean. (Sorry, I'm not a native English speaker. My understanding may be bad.) Comment Actions
@@kawashima-fj no need to apologize! Comment Actions
Thanks. I understand.
These indicates that precise and strict should disable -fapprox-func. D138109 changes the code to be consistent with the manual. Comment Actions
Looks good. This revision is now accepted and ready to land.Dec 1 2022, 6:59 AM Closed by commit rG498abe27dcf8: [clang][docs] Correct floating point option explanations (authored by kawashima-fj). · Explain WhyDec 2 2022, 12:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 479275 clang/docs/UsersManual.rst
|
Leave a blank line before and after the bullet. Same below.