[PATCH] D144802: clang: Add __builtin_elementwise_round

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 26 20:23:19 PST 2023


python3kgae added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:646
                                              direction.
+ T __builtin_elementwise_round(T x)      round x to the nearest integer value in floating point format,   floating point types
+                                             rounding halfway cases to even (that is, to the nearest value
----------------
Lost alignment, need more spaces before the 'round x ...'


================
Comment at: clang/docs/LanguageExtensions.rst:647
+ T __builtin_elementwise_round(T x)      round x to the nearest integer value in floating point format,   floating point types
+                                             rounding halfway cases to even (that is, to the nearest value
+                                             that is an even integer), regardless of the current rounding
----------------
Is this still true for round?


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

https://reviews.llvm.org/D144802



More information about the cfe-commits mailing list