OSDN Git Service

[libc] Add implementations of ilogb[f|l].
authorSiva Chandra Reddy <sivachandra@google.com>
Wed, 4 Nov 2020 00:30:16 +0000 (16:30 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 6 Nov 2020 00:27:44 +0000 (16:27 -0800)
commit930cf1cb9fdb77138dedf5ac4afc2ebfc46d63a3
tree9af658c77bc5ea252b8e7db11a3fdae8035fbe89
parente9e2e3107d6b4fb1bfdd877a83f1e214fcefea76
[libc] Add implementations of ilogb[f|l].

Depends on D90805.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D90806
18 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/ilogb.cpp [new file with mode: 0644]
libc/src/math/ilogb.h [new file with mode: 0644]
libc/src/math/ilogbf.cpp [new file with mode: 0644]
libc/src/math/ilogbf.h [new file with mode: 0644]
libc/src/math/ilogbl.cpp [new file with mode: 0644]
libc/src/math/ilogbl.h [new file with mode: 0644]
libc/test/src/math/CMakeLists.txt
libc/test/src/math/ILogbTest.h [new file with mode: 0644]
libc/test/src/math/ilogb_test.cpp [new file with mode: 0644]
libc/test/src/math/ilogbf_test.cpp [new file with mode: 0644]
libc/test/src/math/ilogbl_test.cpp [new file with mode: 0644]
libc/utils/FPUtil/CMakeLists.txt
libc/utils/FPUtil/ManipulationFunctions.h