[all-commits] [llvm/llvm-project] ff6fd3: [libc] Add implementations of rounding functions w...

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Dec 29 22:22:28 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff6fd3855244bc90094e7de3f07853a5971cf8ef
      https://github.com/llvm/llvm-project/commit/ff6fd3855244bc90094e7de3f07853a5971cf8ef
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/llrint.cpp
    A libc/src/math/llrint.h
    A libc/src/math/llrintf.cpp
    A libc/src/math/llrintf.h
    A libc/src/math/llrintl.cpp
    A libc/src/math/llrintl.h
    A libc/src/math/lrint.cpp
    A libc/src/math/lrint.h
    A libc/src/math/lrintf.cpp
    A libc/src/math/lrintf.h
    A libc/src/math/lrintl.cpp
    A libc/src/math/lrintl.h
    A libc/src/math/rint.cpp
    A libc/src/math/rint.h
    A libc/src/math/rintf.cpp
    A libc/src/math/rintf.h
    A libc/src/math/rintl.cpp
    A libc/src/math/rintl.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/RIntTest.h
    M libc/test/src/math/RoundToIntegerTest.h
    A libc/test/src/math/llrint_test.cpp
    A libc/test/src/math/llrintf_test.cpp
    A libc/test/src/math/llrintl_test.cpp
    A libc/test/src/math/lrint_test.cpp
    A libc/test/src/math/lrintf_test.cpp
    A libc/test/src/math/lrintl_test.cpp
    A libc/test/src/math/rint_test.cpp
    A libc/test/src/math/rintf_test.cpp
    A libc/test/src/math/rintl_test.cpp
    M libc/utils/FPUtil/NearestIntegerOperations.h
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc] Add implementations of rounding functions which depend rounding mode.

Namely, implementations for rint, rintf, rintl, lrint, lrintf, lrintl,
llrint, llrintf and llrintl have been added.

Reviewed By: lntue

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




More information about the All-commits mailing list