aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-06 21:48:53 +0100
committerMattias Andrée <maandree@kth.se>2016-03-06 21:48:53 +0100
commitb241d940ec7fc3574ab7510145bd3a4d8e6df5cb (patch)
tree4588ae3ae85422120d573b83f88f7596ba1950ab
parentA description of the Karatsuba algorithm (diff)
downloadlibzahl-b241d940ec7fc3574ab7510145bd3a4d8e6df5cb.tar.gz
libzahl-b241d940ec7fc3574ab7510145bd3a4d8e6df5cb.tar.bz2
libzahl-b241d940ec7fc3574ab7510145bd3a4d8e6df5cb.tar.xz
Fix typo
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--src/zmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmul.c b/src/zmul.c
index 5b35d93..9fba2e6 100644
--- a/src/zmul.c
+++ b/src/zmul.c
@@ -8,7 +8,7 @@ zmul(z_t a, z_t b, z_t c)
/*
* Karatsuba algorithm
*
- * Basically, this how you were toughed to multiply large numbers
+ * Basically, this is how you were toughed to multiply large numbers
* by hand in school: 4010⋅3020 = (4000 + 10)(3000 + 20) =
= 40⋅30⋅10⁴ + (40⋅20 + 30⋅10)⋅10² + 10⋅20, but the middle is
* optimised to only one multiplication: