File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 12
12
#include " src/__support/CPP/utility.h"
13
13
#include " src/__support/FPUtil/FEnvImpl.h"
14
14
#include " src/__support/FPUtil/FPBits.h"
15
- #include " test/UnitTest/ErrnoSafeTest.h" // Test fixture for clearing errno
15
+ #include " test/UnitTest/ErrnoSafeTest.h" // Test fixture for clearing errno
16
16
#include " test/UnitTest/ErrnoSetterMatcher.h" // Per-assertion clear/check errno
17
- #include " test/UnitTest/FEnvSafeTest.h" // Test fixture for resetting fenv
17
+ #include " test/UnitTest/FEnvSafeTest.h" // Test fixture for resetting fenv
18
18
#include " test/UnitTest/FPExceptMatcher.h" // Per-assertion clear/check fp exns
19
- #include " test/UnitTest/FPMatcher.h" // Matchers/assertions for fp values
19
+ #include " test/UnitTest/FPMatcher.h" // Matchers/assertions for fp values
20
20
#include " test/UnitTest/Test.h"
21
21
22
22
#define DECLARE_SPECIAL_CONSTANTS (T ) \
Original file line number Diff line number Diff line change @@ -192,8 +192,7 @@ class Test {
192
192
const char *LHSStr, const char *RHSStr,
193
193
internal::Location Loc);
194
194
195
- template <typename Func>
196
- testutils::FunctionCaller *createCallable (Func f) {
195
+ template <typename Func> testutils::FunctionCaller *createCallable (Func f) {
197
196
struct Callable : public testutils ::FunctionCaller {
198
197
Func f;
199
198
Callable (Func f) : f(f) {}
Original file line number Diff line number Diff line change 17
17
18
18
using LlvmLibcCosfTest = LIBC_NAMESPACE::testing::FPTest<float >;
19
19
20
- TEST_F (LlvmLibcCosfTest, SpecialNumbers) {
21
- EXPECT_NO_ERRNO_FP_EXCEPT (
22
- EXPECT_FP_EQ (aNaN, LIBC_NAMESPACE::cosf (aNaN)));
20
+ TEST_F (LlvmLibcCosfTest, SpecialNumbers) {
21
+ EXPECT_NO_ERRNO_FP_EXCEPT (EXPECT_FP_EQ (aNaN, LIBC_NAMESPACE::cosf (aNaN)));
23
22
24
23
EXPECT_NO_ERRNO_FP_EXCEPT_ALL_ROUNDING (
25
24
EXPECT_FP_EQ (1 .0f , LIBC_NAMESPACE::cosf (0 .0f )));
You can’t perform that action at this time.
0 commit comments