[libc-commits] [PATCH] D118093: [libc] Implement log10f correctly rounded for all rounding modes.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jan 24 18:43:45 PST 2022


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

Based on RLIBM implementation similar to logf and log2f.  Most of the exceptional inputs are the exact powers of 10.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118093

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/stdc.td
  libc/src/math/CMakeLists.txt
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/log10f.cpp
  libc/src/math/log10f.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/differential_testing/CMakeLists.txt
  libc/test/src/math/differential_testing/log10f_perf.cpp
  libc/test/src/math/exhaustive/CMakeLists.txt
  libc/test/src/math/exhaustive/log10f_test.cpp
  libc/test/src/math/log10f_test.cpp
  libc/utils/MPFRWrapper/MPFRUtils.cpp
  libc/utils/MPFRWrapper/MPFRUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118093.402734.patch
Type: text/x-patch
Size: 19690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220125/cdcea4f0/attachment-0001.bin>


More information about the libc-commits mailing list