aboutsummaryrefslogtreecommitdiffstats
path: root/src/zmul.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-07 07:22:31 +0100
committerMattias Andrée <maandree@kth.se>2016-03-07 07:22:31 +0100
commit346458c840dd1c4df9fdcf0749ff6a6c000e713e (patch)
tree56140edd95a3b33c240afa380cfb8cc3ebaeb5d1 /src/zmul.c
parentFix typo (diff)
downloadlibzahl-346458c840dd1c4df9fdcf0749ff6a6c000e713e.tar.gz
libzahl-346458c840dd1c4df9fdcf0749ff6a6c000e713e.tar.bz2
libzahl-346458c840dd1c4df9fdcf0749ff6a6c000e713e.tar.xz
Fix another typo
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/zmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmul.c b/src/zmul.c
index 9fba2e6..6023664 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 is how you were toughed to multiply large numbers
+ * Basically, this is how you were taught 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: