[libc] Resolve NaN/implementation-defined behavior of floating-point tests
authorDominic Chen <ddchen@apple.com>
Thu, 29 Sep 2022 21:57:56 +0000 (14:57 -0700)
committerDominic Chen <ddchen@apple.com>
Fri, 7 Oct 2022 04:11:47 +0000 (21:11 -0700)
commit74ec46796493738af8dd61c28d492a350a376063
tree13bb05ee8367f631062afa37acb3d69f04a5b5f2
parente88e149fe4edb51e6409766bcdf96a54da84afe6
[libc] Resolve NaN/implementation-defined behavior of floating-point tests

Differential Revision: https://reviews.llvm.org/D134917
22 files changed:
libc/CMakeLists.txt
libc/src/__support/FPUtil/DivisionAndRemainderOperations.h
libc/src/__support/FPUtil/FPBits.h
libc/src/__support/FPUtil/generic/FMod.h
libc/src/__support/FPUtil/generic/sqrt.h
libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
libc/src/__support/str_to_float.h
libc/src/math/generic/atanf.cpp
libc/src/math/generic/atanhf.cpp
libc/test/src/math/FDimTest.h
libc/test/src/math/FmaTest.h
libc/test/src/math/HypotTest.h
libc/test/src/math/ILogbTest.h
libc/test/src/math/LdExpTest.h
libc/test/src/math/NextAfterTest.h
libc/test/src/math/RIntTest.h
libc/test/src/math/RemQuoTest.h
libc/test/src/math/RoundToIntegerTest.h
libc/test/src/math/atanf_test.cpp
libc/test/src/math/atanhf_test.cpp
libc/utils/UnitTest/FPMatcher.h