[libc-commits] [PATCH] D144340: [libc][math] Set floating point exceptions for exp*f, sinhf, and coshf.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Feb 22 14:29:39 PST 2023


lntue added a comment.

In D144340#4145798 <https://reviews.llvm.org/D144340#4145798>, @sivachandra wrote:

> Should the `errno` be set and exceptions raised based on `math_errhandling`?

I skipped the check for `math_errhandling` because of the following line from https://en.cppreference.com/w/cpp/numeric/math/math_errhandling :

  If the implementation supports IEEE floating-point arithmetic (IEC 60559), math_errhandling & MATH_ERREXCEPT is required to be non-zero.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144340



More information about the libc-commits mailing list