[libc] Add the remaining long double flavors of nearest integer functions.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 25 Jun 2020 19:09:02 +0000 (12:09 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 26 Jun 2020 05:45:05 +0000 (22:45 -0700)
commitd4adac48320eb52eb5e4b01b75ad08e37f196df4
tree141436a1bf3abcbf0b5518c6cdcf705912038a1f
parent05c552ad0535f0f7c871bdd41aed02144e27afd7
[libc] Add the remaining long double flavors of nearest integer functions.

Specifically: ceill, floorl and roundl have been added.

Reviewers: asteinhauser

Differential Revision: https://reviews.llvm.org/D82591
16 files changed:
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/spec/stdc.td
libc/src/math/CMakeLists.txt
libc/src/math/ceill.cpp [new file with mode: 0644]
libc/src/math/ceill.h [new file with mode: 0644]
libc/src/math/floorl.cpp [new file with mode: 0644]
libc/src/math/floorl.h [new file with mode: 0644]
libc/src/math/roundl.cpp [new file with mode: 0644]
libc/src/math/roundl.h [new file with mode: 0644]
libc/test/src/math/CMakeLists.txt
libc/test/src/math/ceill_test.cpp [new file with mode: 0644]
libc/test/src/math/floorl_test.cpp [new file with mode: 0644]
libc/test/src/math/roundl_test.cpp [new file with mode: 0644]
libc/utils/FPUtil/NearestIntegerOperations.h