[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
Tue May 26 23:22:48 PDT 2020


sivachandra created this revision.
sivachandra added reviewers: abrachet, phosek.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra added a comment.

If adding latex docs which explain the theoretical concepts behind the operations would be useful in general for math functions, I can work on that parallely/separately.


Repository:
  rG LLVM Github Monorepo

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.266430.patch
Type: text/x-patch
Size: 40368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200527/750a46b2/attachment-0001.bin>


More information about the libc-commits mailing list