[PATCH] D146188: [Clang][DOC] Add documentation in for __builtin_flt_rounds and __builtin_set_flt_rounds

xiongji90 via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 01:44:20 PDT 2023


xiongji90 added a comment.

Hi, @rjmccall and @sepavloff 
In UserManual, we include a section `Controlling Floating Point Behavior`: https://github.com/llvm/llvm-project/blob/main/clang/docs/UsersManual.rst#controlling-floating-point-behavior , now we need to add a new section for floating-point environment, do we need to add the new section in parallel with `Controlling Floating Point Behavior` section or just put the section under `Controlling Floating Point Behavior`? And current `Controlling Floating Point Behavior` includes following description:
`Clang provides a number of ways to control floating point behavior, including with command line options and source pragmas.`
So, we need to update it to `Clang provides a number of ways to control floating point behavior, including with command line options, source pragmas and builtins.` and mention __builtin_flt_rounds, __builtin_set_flt_rounds in this section. Does this meet your expectation?
Thanks very much.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146188/new/

https://reviews.llvm.org/D146188



More information about the cfe-commits mailing list