diff options
| author | Michael Jones <michaelrj@google.com> | 2024-03-18 14:19:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 14:19:33 -0700 |
| commit | 5d56b34807e0f6e7a6684e57bec7c1751778862c (patch) | |
| tree | 904d422f958d4c1fc0f726b87761a5ef9286f270 /libc/test/src/math/powf_test.cpp | |
| parent | d0d9839b146692160aa3e0efed86faefde949f49 (diff) | |
[libc] Remove direct math.h includes (#85324)
Reland of #84991
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Diffstat (limited to 'libc/test/src/math/powf_test.cpp')
| -rw-r--r-- | libc/test/src/math/powf_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/src/math/powf_test.cpp b/libc/test/src/math/powf_test.cpp index 3dffeb603499..cf674ecf8f99 100644 --- a/libc/test/src/math/powf_test.cpp +++ b/libc/test/src/math/powf_test.cpp @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// +#include "include/llvm-libc-macros/math-macros.h" #include "src/__support/FPUtil/FPBits.h" #include "src/math/powf.h" #include "test/UnitTest/FPMatcher.h" #include "test/UnitTest/Test.h" #include "utils/MPFRWrapper/MPFRUtils.h" -#include <math.h> #include <errno.h> #include <stdint.h> |
