Skip to content

Commit f76aec9

Browse files
committed
typos: fix typos in val64.cpp and val64_tests.cpp
1 parent 2c9e6ac commit f76aec9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/script/val64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ bool Val64::div_mod(Val64 &v1, Val64 &v2, divmod_op op)
906906
// Knuth suggests: (notation reworked to match us, the rest is a
907907
// direct quote):
908908

909-
// ... let r* be the remainer.
909+
// ... let r* be the remainder.
910910
// Now test if q* == β, or q* x v2_n-2_ > βr* + v1_n+j-2_:
911911
// if so, decrease q* by 1, increase r* by v2_n-1_, and
912912
// repeat this test if r* < β. (The test on v2_n-2_ determines at

src/test/val64_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ BOOST_AUTO_TEST_CASE(val64_mul_span)
737737
for (bool portable_math : {false, true}) {
738738
Val64Test::set_force_portable_math(portable_math);
739739

740-
// Mulitply this by mul, place into res.
740+
// Multiply this by mul, place into res.
741741
for (size_t i = 0; i < 128; i++) {
742742
for (size_t j = 0; j < 65; j++) {
743743
Val64Test v64a(vec_setbit(i));

0 commit comments

Comments
 (0)