[libc-commits] [PATCH] D145349: [libc][math] Switch math functions to use libc_errno and fix some errno and floating point exceptions.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun Mar 5 20:27:25 PST 2023


lntue created this revision.
lntue added reviewers: michaelrj, sivachandra.
Herald added subscribers: ecnelises, tschuett.
Herald added projects: libc-project, All.
lntue requested review of this revision.

Switch math functions to use libc_errno and fix some errno and
floating point exceptions


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145349

Files:
  libc/src/__support/FPUtil/CMakeLists.txt
  libc/src/__support/FPUtil/FEnvImpl.h
  libc/src/__support/FPUtil/NearestIntegerOperations.h
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/acosf.cpp
  libc/src/math/generic/acoshf.cpp
  libc/src/math/generic/atanhf.cpp
  libc/src/math/generic/cosf.cpp
  libc/src/math/generic/log10.cpp
  libc/src/math/generic/log10f.cpp
  libc/src/math/generic/log1pf.cpp
  libc/src/math/generic/log2f.cpp
  libc/src/math/generic/logf.cpp
  libc/src/math/generic/sinf.cpp
  libc/src/math/generic/tanf.cpp
  libc/test/UnitTest/FPMatcher.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/RoundToIntegerTest.h
  libc/test/src/math/acosf_test.cpp
  libc/test/src/math/acoshf_test.cpp
  libc/test/src/math/asin_test.cpp
  libc/test/src/math/asinf_test.cpp
  libc/test/src/math/asinhf_test.cpp
  libc/test/src/math/atanf_test.cpp
  libc/test/src/math/atanhf_test.cpp
  libc/test/src/math/cosf_test.cpp
  libc/test/src/math/coshf_test.cpp
  libc/test/src/math/exp10f_test.cpp
  libc/test/src/math/exp2f_test.cpp
  libc/test/src/math/expf_test.cpp
  libc/test/src/math/expm1f_test.cpp
  libc/test/src/math/log10_test.cpp
  libc/test/src/math/log1pf_test.cpp
  libc/test/src/math/log2f_test.cpp
  libc/test/src/math/pow_test.cpp
  libc/test/src/math/sincosf_test.cpp
  libc/test/src/math/sinf_test.cpp
  libc/test/src/math/sinhf_test.cpp
  libc/test/src/math/tanf_test.cpp
  libc/test/src/math/tanhf_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145349.502511.patch
Type: text/x-patch
Size: 31563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230306/a83a6de4/attachment-0001.bin>


More information about the libc-commits mailing list