Skip to content

Commit

Permalink
[libc] Fix signbit include test. (llvm#98793)
Browse files Browse the repository at this point in the history
  • Loading branch information
lntue committed Jul 14, 2024
1 parent dfcc898 commit 57ae618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/test/include/SignbitTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ template <typename T> class SignbitTest : public LIBC_NAMESPACE::testing::Test {

void testSpecialNumbers(SignbitFunc func) {
EXPECT_EQ(func(1), 0);
EXPECT_EQ(func(-1), 1);
EXPECT_NE(func(-1), 0);
}
};

Expand Down

0 comments on commit 57ae618

Please sign in to comment.