[libc-commits] [libc] [libc][NFC] Fix a typo in test/src/stdfix/RoundTest.h. (PR #84411)
via libc-commits
libc-commits at lists.llvm.org
Thu Mar 7 16:54:12 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (lntue)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/84411.diff
1 Files Affected:
- (modified) libc/test/src/stdfix/RoundTest.h (+1-1)
``````````diff
diff --git a/libc/test/src/stdfix/RoundTest.h b/libc/test/src/stdfix/RoundTest.h
index 06343addbef20e..d3ae04db9749ba 100644
--- a/libc/test/src/stdfix/RoundTest.h
+++ b/libc/test/src/stdfix/RoundTest.h
@@ -28,7 +28,7 @@ template <typename T> class RoundTest : public LIBC_NAMESPACE::testing::Test {
void testSpecialNumbers(RoundFunc func) {
EXPECT_EQ(zero, func(zero, FXRep::FRACTION_LEN - 5));
- EXPECT_EQ(max, func(min, 0));
+ EXPECT_EQ(min, func(min, 0));
EXPECT_EQ(max, func(max, FXRep::FRACTION_LEN));
EXPECT_EQ(one, func(half, 0));
``````````
</details>
https://github.com/llvm/llvm-project/pull/84411
More information about the libc-commits
mailing list