[libc][Obvious] Update error bounds for uint_test.QuickMulHiTests.

This commit is contained in:
Tue Ly 2022-12-02 18:12:17 -05:00
parent 768107d779
commit 28f13353b6
1 changed files with 7 additions and 4 deletions

View File

@ -502,8 +502,11 @@ TEST(LlvmLibcUIntClassTest, FullMulTests) {
} while (0)
TEST(LlvmLibcUIntClassTest, QuickMulHiTests) {
TEST_QUICK_MUL_HI(128, 1);
TEST_QUICK_MUL_HI(192, 2);
TEST_QUICK_MUL_HI(256, 3);
TEST_QUICK_MUL_HI(512, 7);
// TODO(lntue): Investigate / Analyze the error bounds for other rounding
// modes. It the error bounds seems to be able to reach to WordCount instead
// of WordCount - 1 in the CI environment.
TEST_QUICK_MUL_HI(128, 2);
TEST_QUICK_MUL_HI(192, 3);
TEST_QUICK_MUL_HI(256, 4);
TEST_QUICK_MUL_HI(512, 8);
}