[libc-commits] [PATCH] D115828: [libc] Implement correctly rounded log2f based on RLIBM library.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Dec 15 13:36:00 PST 2021


lntue created this revision.
lntue added reviewers: sivachandra, michaelrj, santoshn, jpl169, zimmermann6.
Herald added subscribers: ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
lntue requested review of this revision.

Implement correctly rounded log2f based on RLIBM library with the default rounding mode - round-to-nearest, tie-to-even.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115828

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/windows/entrypoints.txt
  libc/spec/stdc.td
  libc/src/math/CMakeLists.txt
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/common_constants.h
  libc/src/math/generic/log2f.cpp
  libc/src/math/generic/logf.cpp
  libc/src/math/log2f.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/differential_testing/CMakeLists.txt
  libc/test/src/math/differential_testing/log2f_diff.cpp
  libc/test/src/math/differential_testing/log2f_perf.cpp
  libc/test/src/math/exhaustive/CMakeLists.txt
  libc/test/src/math/exhaustive/log2f_test.cpp
  libc/test/src/math/log2f_test.cpp
  libc/utils/MPFRWrapper/MPFRUtils.cpp
  libc/utils/MPFRWrapper/MPFRUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115828.394653.patch
Type: text/x-patch
Size: 26260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211215/928f4a3d/attachment-0001.bin>


More information about the libc-commits mailing list