[libc-commits] [PATCH] D86666: [libc] Add implementations of remquo[f|l] and remainder[f|l].

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 26 17:11:31 PDT 2020


sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

The implementation is not fully standards compliant in the sense that
errno is not set on error, and floating point exceptions are not raised.

Subnormal range and normal range are tested separately in the tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86666

Files:
  libc/config/linux/api.td
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/stdc.td
  libc/src/math/CMakeLists.txt
  libc/src/math/remainder.cpp
  libc/src/math/remainder.h
  libc/src/math/remainderf.cpp
  libc/src/math/remainderf.h
  libc/src/math/remainderl.cpp
  libc/src/math/remainderl.h
  libc/src/math/remquo.cpp
  libc/src/math/remquo.h
  libc/src/math/remquof.cpp
  libc/src/math/remquof.h
  libc/src/math/remquol.cpp
  libc/src/math/remquol.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/remquo_test.cpp
  libc/test/src/math/remquof_test.cpp
  libc/test/src/math/remquol_test.cpp
  libc/utils/FPUtil/CMakeLists.txt
  libc/utils/FPUtil/DivisionAndRemainderOperations.h
  libc/utils/FPUtil/FPBits.h
  libc/utils/FPUtil/LongDoubleBitsX86.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86666.288143.patch
Type: text/x-patch
Size: 29109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200827/cbfcaa7f/attachment-0001.bin>


More information about the libc-commits mailing list