[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
Fri Jan 14 07:38:45 PST 2022


lntue updated this revision to Diff 400002.
lntue added a comment.

Update the polynomial and make log2f correctly rounded for all rounding modes.


Repository:
  rG LLVM Github Monorepo

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

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/__support/FPUtil/PolyEval.h
  libc/src/math/CMakeLists.txt
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/common_constants.cpp
  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.400002.patch
Type: text/x-patch
Size: 32160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220114/711eca85/attachment-0001.bin>


More information about the libc-commits mailing list