Skip to content

Commit c2686da

Browse files
authored
Update CanonicalizeTest.h
1 parent 54e93ef commit c2686da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/test/src/math/smoke/CanonicalizeTest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class CanonicalizeTest : public LIBC_NAMESPACE::testing::Test {
4848
EXPECT_EQ(cx, -aNaN);
4949
}
5050

51-
if constexpr (LIBC_NAMESPACE::fputil::get_fp_type() == FPType::X86_Binary80) {
52-
void testX64_80SpecialNumbers(CanonicalizeFunc f) {
51+
void testX64_80SpecialNumbers(CanonicalizeFunc f) {
52+
if constexpr (LIBC_NAMESPACE::fputil::get_fp_type() == FPType::X86_Binary80) {
5353
T cx;
5454
// Exponent | Significand | Meaning
5555
// | Bits 63-62 | Bits 61-0 |

0 commit comments

Comments
 (0)