[libc-commits] [PATCH] D150014: [libc][math] Make log10 correctly rounded for non-FMA targets and improve itsperformance.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri May 5 20:53:33 PDT 2023


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

Fix log10(1.0) = +0.0 for all rounding mode.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150014

Files:
  libc/src/__support/FPUtil/double_double.h
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/common_constants.cpp
  libc/src/math/generic/common_constants.h
  libc/src/math/generic/log10.cpp
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/log10_test.cpp
  utils/bazel/llvm-project-overlay/libc/BUILD.bazel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150014.520029.patch
Type: text/x-patch
Size: 123359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230506/a15b2687/attachment-0001.bin>


More information about the libc-commits mailing list