[libc-commits] [PATCH] D80612: [libc] Add implementations of ceil[f], floor[f] and trunc[f] from math.h.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 27 16:23:15 PDT 2020


sivachandra updated this revision to Diff 266687.
sivachandra added a comment.

Use compiler generated instructions for floating point addition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80612

Files:
  libc/lib/CMakeLists.txt
  libc/src/math/CMakeLists.txt
  libc/src/math/ceil.cpp
  libc/src/math/ceil.h
  libc/src/math/ceilf.cpp
  libc/src/math/ceilf.h
  libc/src/math/floor.cpp
  libc/src/math/floor.h
  libc/src/math/floorf.cpp
  libc/src/math/floorf.h
  libc/src/math/trunc.cpp
  libc/src/math/trunc.h
  libc/src/math/truncf.cpp
  libc/src/math/truncf.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/ceil_test.cpp
  libc/test/src/math/ceilf_test.cpp
  libc/test/src/math/floor_test.cpp
  libc/test/src/math/floorf_test.cpp
  libc/test/src/math/trunc_test.cpp
  libc/test/src/math/truncf_test.cpp
  libc/utils/FPUtil/FloatOperations.h
  libc/utils/FPUtil/FloatProperties.h
  libc/utils/MPFRWrapper/MPFRUtils.cpp
  libc/utils/MPFRWrapper/MPFRUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80612.266687.patch
Type: text/x-patch
Size: 39885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200527/13cdf708/attachment-0001.bin>


More information about the libc-commits mailing list