[all-commits] [llvm/llvm-project] 84b365: [LangRef] Correct documentation for `roundeven` (#...

Trevor Gross via All-commits all-commits at lists.llvm.org
Fri Feb 28 19:37:23 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84b365c26b963de47ed4b712f59d276b15871ddb
      https://github.com/llvm/llvm-project/commit/84b365c26b963de47ed4b712f59d276b15871ddb
  Author: Trevor Gross <t.gross35 at gmail.com>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Correct documentation for `roundeven` (#125452)

Langref for `roundeven` implies that the C standard function `roundeven`
may raise floating point exceptions. However, this is not correct; C23
does not mention exceptions for `roundeven`, and per [1] `FE_INEXACT` is
never raised.

Clarify that LLVM's `roundeven` behaves the same.

[1]: https://en.cppreference.com/w/c/numeric/math/roundeven



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list