[libc-commits] [libc] [libc] Create a separate proxy header for math-function-macros.h (PR #98430)
via libc-commits
libc-commits at lists.llvm.org
Sat Jul 27 20:37:38 PDT 2024
================
@@ -34,7 +36,7 @@ TEST_F(LlvmLibcExplogfTest, ExpInFloatRange) {
return static_cast<float>(result.mh * r);
};
auto f_check = [](float x) -> bool {
- return !((isnan(x) || isinf(x) || x < -70 || x > 70 ||
----------------
lntue wrote:
this will also need to be fully qualified. Maybe you can have `using FPBits = LIBC_NAMESPACE::fputil::FPBits<float>` at the beginning of the file, and the all subsequence usage can just be `FPBits`
https://github.com/llvm/llvm-project/pull/98430
More information about the libc-commits
mailing list