[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
Thu May 28 23:57:47 PDT 2020


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

Use floating point literals for 1.0 and 0.0 instead of bit patterns.


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.267128.patch
Type: text/x-patch
Size: 39782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200529/6a95046e/attachment-0001.bin>


More information about the libc-commits mailing list