[all-commits] [llvm/llvm-project] 5fedf7: [libc] Move implementations of cosf, sinf, sincosf...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Apr 16 08:46:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fedf7f42043f6a7d4562df2eab4a22b3346ac1a
      https://github.com/llvm/llvm-project/commit/5fedf7f42043f6a7d4562df2eab4a22b3346ac1a
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    R libc/AOR_v20.02/math/cosf.c
    R libc/AOR_v20.02/math/sincosf.c
    R libc/AOR_v20.02/math/sincosf.h
    R libc/AOR_v20.02/math/sincosf_data.c
    R libc/AOR_v20.02/math/sinf.c
    R libc/AOR_v20.02/math/test/testcases/directed/cosf.tst
    R libc/AOR_v20.02/math/test/testcases/directed/sincosf.tst
    R libc/AOR_v20.02/math/test/testcases/directed/sinf.tst
    M libc/AOR_v20.02/math/test/testcases/random/float.tst
    M libc/config/linux/api.td
    M libc/lib/CMakeLists.txt
    M libc/src/__support/common.h.def
    M libc/src/math/CMakeLists.txt
    A libc/src/math/cosf.cpp
    A libc/src/math/cosf.h
    A libc/src/math/math_utils.h
    A libc/src/math/sincosf.cpp
    A libc/src/math/sincosf.h
    A libc/src/math/sincosf_data.cpp
    A libc/src/math/sincosf_utils.h
    A libc/src/math/sinf.cpp
    A libc/src/math/sinf.h
    M libc/test/src/CMakeLists.txt
    A libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/cosf_test.cpp
    A libc/test/src/math/float.h
    A libc/test/src/math/sdcomp26094.h
    A libc/test/src/math/sincosf_test.cpp
    A libc/test/src/math/sinf_test.cpp
    M libc/utils/CMakeLists.txt
    A libc/utils/MPFRWrapper/CMakeLists.txt
    A libc/utils/MPFRWrapper/MPFRUtils.cpp
    A libc/utils/MPFRWrapper/MPFRUtils.h
    A libc/utils/MPFRWrapper/check_mpfr.cpp

  Log Message:
  -----------
  [libc] Move implementations of cosf, sinf, sincosf to src/math directory.

NFC intended in the implementaton. Only mechanical changes to fit the LLVM
libc implementation standard have been done.

Math testing infrastructure has been added. This infrastructure compares the
results produced by the libc with the high precision results from MPFR.
Tests making use of this infrastructure have been added for cosf, sinf and
sincosf.

Reviewers: abrachet, phosek

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




More information about the All-commits mailing list