[libc-commits] [PATCH] D93007: [libc] Add implementations of lround[f|l] and llround[f|l].

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Dec 10 14:41:34 PST 2020


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

Return max integer or min integer value on overflow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93007

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/spec.td
  libc/spec/stdc.td
  libc/src/math/CMakeLists.txt
  libc/src/math/llround.cpp
  libc/src/math/llround.h
  libc/src/math/llroundf.cpp
  libc/src/math/llroundf.h
  libc/src/math/llroundl.cpp
  libc/src/math/llroundl.h
  libc/src/math/lround.cpp
  libc/src/math/lround.h
  libc/src/math/lroundf.cpp
  libc/src/math/lroundf.h
  libc/src/math/lroundl.cpp
  libc/src/math/lroundl.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/RoundToIntegerTest.h
  libc/test/src/math/llround_test.cpp
  libc/test/src/math/llroundf_test.cpp
  libc/test/src/math/llroundl_test.cpp
  libc/test/src/math/lround_test.cpp
  libc/test/src/math/lroundf_test.cpp
  libc/test/src/math/lroundl_test.cpp
  libc/utils/FPUtil/CMakeLists.txt
  libc/utils/FPUtil/NearestIntegerOperations.h
  libc/utils/MPFRWrapper/MPFRUtils.cpp
  libc/utils/MPFRWrapper/MPFRUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93007.311029.patch
Type: text/x-patch
Size: 32219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20201210/d9e235d7/attachment-0001.bin>


More information about the libc-commits mailing list