[libc] Consolidate floating point utils into a single utils library.
authorSiva Chandra Reddy <sivachandra@google.com>
Fri, 8 May 2020 06:19:09 +0000 (23:19 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 15 May 2020 18:08:41 +0000 (11:08 -0700)
commit32a22a423c71c8dc479cdbd5d6de98772431b10d
treead7f614fe9d9bda9106eea2b743aa9736c7afabd
parente36223c85cd49858a808a2420144b64cad37839f
[libc] Consolidate floating point utils into a single utils library.

A new utils library named 'fputil' is added. This library is used in
math tests and the MPFR wrapper. The math implementations will be
modified to use this library in a later round.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D79724
13 files changed:
libc/test/src/math/CMakeLists.txt
libc/test/src/math/cosf_test.cpp
libc/test/src/math/float.h [deleted file]
libc/test/src/math/sdcomp26094.h
libc/test/src/math/sincosf_test.cpp
libc/test/src/math/sinf_test.cpp
libc/utils/CMakeLists.txt
libc/utils/FPUtil/BitPatterns.h [new file with mode: 0644]
libc/utils/FPUtil/CMakeLists.txt [new file with mode: 0644]
libc/utils/FPUtil/FloatOperations.h [new file with mode: 0644]
libc/utils/FPUtil/FloatProperties.h [new file with mode: 0644]
libc/utils/MPFRWrapper/CMakeLists.txt
libc/utils/MPFRWrapper/MPFRUtils.cpp