[all-commits] [llvm/llvm-project] e58184: [libc] Implement log10f correctly rounded for all ...

lntue via All-commits all-commits at lists.llvm.org
Tue Jan 25 07:34:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e581841e8cf46109acea92e1acb661c404fa62b9
      https://github.com/llvm/llvm-project/commit/e581841e8cf46109acea92e1acb661c404fa62b9
  Author: Tue Ly <lntue at google.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

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

  Log Message:
  -----------
  [libc] Implement log10f correctly rounded for all rounding modes.

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

Reviewed By: sivachandra, zimmermann6, santoshn, jpl169

Differential Revision: https://reviews.llvm.org/D118093




More information about the All-commits mailing list