[all-commits] [llvm/llvm-project] 0aa959: [libc][math] Set floating point exceptions for exp...

lntue via All-commits all-commits at lists.llvm.org
Fri Feb 24 09:57:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0aa9593c2f14d73f9b5ce0357df3c62b0bf9dea4
      https://github.com/llvm/llvm-project/commit/0aa9593c2f14d73f9b5ce0357df3c62b0bf9dea4
  Author: Tue Ly <lntue at google.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FEnvImpl.h
    M libc/src/math/generic/acosf.cpp
    M libc/src/math/generic/asinf.cpp
    M libc/src/math/generic/cosf.cpp
    M libc/src/math/generic/coshf.cpp
    M libc/src/math/generic/exp10f.cpp
    M libc/src/math/generic/exp2f.cpp
    M libc/src/math/generic/expf.cpp
    M libc/src/math/generic/expm1f.cpp
    M libc/src/math/generic/sincosf.cpp
    M libc/src/math/generic/sinf.cpp
    M libc/src/math/generic/sinhf.cpp
    M libc/src/math/generic/tanf.cpp
    M libc/test/src/math/coshf_test.cpp
    M libc/test/src/math/exp10f_test.cpp
    M libc/test/src/math/exp2f_test.cpp
    M libc/test/src/math/expf_test.cpp
    M libc/test/src/math/expm1f_test.cpp
    M libc/test/src/math/sinhf_test.cpp

  Log Message:
  -----------
  [libc][math] Set floating point exceptions for exp*f, sinhf, and coshf.

Set FE_OVERFLOW and FE_UNDERFLOW for expf, exp2f, exp10f, expm1f, sinhf
and coshf.

Reviewed By: sivachandra, renyichen

Differential Revision: https://reviews.llvm.org/D144340




More information about the All-commits mailing list