File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3509,8 +3509,8 @@ add_fp_unittest(
35093509 SRCS
35103510 rsqrtf16_test.cpp
35113511 DEPENDS
3512- libc.src.errno.errno
35133512 libc.src.math.rsqrtf16
3513+ libc.hdr.errno_macros
35143514)
35153515
35163516add_fp_unittest(
Original file line number Diff line number Diff line change 66//
77// ===----------------------------------------------------------------------===//
88
9- #include " src/__support/libc_errno .h"
9+ #include " hdr/errno_macros .h"
1010#include " src/math/rsqrtf16.h"
1111#include " test/UnitTest/FPMatcher.h"
1212#include " test/UnitTest/Test.h"
1313
1414using LlvmLibcRsqrtf16Test = LIBC_NAMESPACE::testing::FPTest<float16>;
1515TEST_F (LlvmLibcRsqrtf16Test, SpecialNumbers) {
16- LIBC_NAMESPACE::libc_errno = 0 ;
1716 EXPECT_FP_EQ (aNaN, LIBC_NAMESPACE::rsqrtf16 (aNaN));
1817 EXPECT_MATH_ERRNO (0 );
1918
You can’t perform that action at this time.
0 commit comments