[PATCH] D153233: clang: Add __builtin_elementwise_rint and nearbyint
Joshua Batista via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 19 11:22:49 PDT 2023
bob80905 added inline comments.
================
Comment at: clang/docs/LanguageExtensions.rst:656
+ T __builtin_elementwise_nearbyint(T x) round x to the nearest integer value in floating point format, floating point types
+ rounding according to the current current rounding direction.
+ May not raise the inexact floating-point exception. This is
----------------
typo with the word current.
================
Comment at: clang/docs/ReleaseNotes.rst:234
arbitrary floating-point and vector of floating-point types.
-
+- Added ``__builtin_elementwise_rint`` for builtin for floating
+ point types. This allows access to ``llvm.rint`` for
----------------
Don't think this for is necessary or intended, and it appears in the nearbyint description too.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153233/new/
https://reviews.llvm.org/D153233
More information about the cfe-commits
mailing list