[llvm] LangRef: rint, nearbyint: mention that default rounding mode is assumed (PR #77191)
Ralf Jung via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 02:25:49 PST 2024
================
@@ -15751,7 +15751,9 @@ Semantics:
""""""""""
This function returns the same values as the libm ``rint`` functions
-would, and handles error conditions in the same way.
+would, and handles error conditions in the same way. The rounding mode
----------------
RalfJung wrote:
Yeah, but "the default LLVM floating-point environment assumes that traps are disabled and status flags are not observable". This implies that rint and nearbyint are equivalent.
https://github.com/llvm/llvm-project/pull/77191
More information about the llvm-commits
mailing list