Skip to content

Commit c83ac4a

Browse files
committed
format
1 parent 3af74ee commit c83ac4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/swar/BasicOperations.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ static_assert(
4141

4242
TEST_CASE("Jamie's totally working exponentiation :D") {
4343
using S = SWAR<8, u32>;
44-
constexpr auto base = S::fromLaneLiterals({2, 3, 5, 6});
45-
constexpr auto exponent = S::fromLaneLiterals({7, 0, 2, 3});
46-
constexpr auto expected = S::fromLaneLiterals({128, 1, 25, 216});
44+
constexpr auto base = S::fromLaneLiterals({2, 3, 5, 6});
45+
constexpr auto exponent = S::fromLaneLiterals({7, 4, 2, 3});
46+
constexpr auto expected = S::fromLaneLiterals({128, 81, 25, 216});
4747
constexpr auto actual = exponentiation_OverflowUnsafe(base, exponent);
4848
static_assert(expected.value() == actual.value());
4949
CHECK(expected.value() == actual.value());

0 commit comments

Comments
 (0)