summaryrefslogtreecommitdiff
path: root/test/src/math/smoke/sincosf_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/math/smoke/sincosf_test.cpp')
-rw-r--r--test/src/math/smoke/sincosf_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/math/smoke/sincosf_test.cpp b/test/src/math/smoke/sincosf_test.cpp
index 0de47f3307fe..5952b20fc5bf 100644
--- a/test/src/math/smoke/sincosf_test.cpp
+++ b/test/src/math/smoke/sincosf_test.cpp
@@ -6,12 +6,12 @@
//
//===----------------------------------------------------------------------===//
+#include "include/llvm-libc-macros/math-macros.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/errno/libc_errno.h"
#include "src/math/sincosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
-#include <math.h>
#include <errno.h>
#include <stdint.h>
@@ -19,7 +19,7 @@
using LlvmLibcSinCosfTest = LIBC_NAMESPACE::testing::FPTest<float>;
TEST_F(LlvmLibcSinCosfTest, SpecialNumbers) {
- libc_errno = 0;
+ LIBC_NAMESPACE::libc_errno = 0;
float sin, cos;
LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos);