[PATCH] D144802: clang: Add __builtin_elementwise_round

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 06:03:51 PDT 2023


arsenm added inline comments.


================
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
----------------
python3kgae wrote:
> Is this still true for round?
No, I got the two crossed. I also need to add elementwise_rint 


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

https://reviews.llvm.org/D144802



More information about the cfe-commits mailing list