[libc-commits] [PATCH] D139846: [libc][math] Implement log10 function correctly rounded for all rounding modes

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 12 08:14:12 PST 2022


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

Implement double precision log10 function correctly rounded for all
rounding modes.  This implementation currently needs FMA instructions for
correctness.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139846

Files:
  libc/config/darwin/arm/entrypoints.txt
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/windows/entrypoints.txt
  libc/docs/math.rst
  libc/docs/math/log.rst
  libc/spec/stdc.td
  libc/src/__support/FPUtil/CMakeLists.txt
  libc/src/__support/FPUtil/double_double.h
  libc/src/__support/FPUtil/dyadic_float.h
  libc/src/__support/number_pair.h
  libc/src/math/CMakeLists.txt
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/log10.cpp
  libc/src/math/log10.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/log10_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139846.482136.patch
Type: text/x-patch
Size: 72761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221212/9efd4024/attachment-0001.bin>


More information about the libc-commits mailing list