]> Cypherpunks repositories - gostls13.git/commitdiff
big: fix spelling of Euclidean
authorRuss Cox <rsc@golang.org>
Wed, 2 Jun 2010 19:53:15 +0000 (12:53 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 2 Jun 2010 19:53:15 +0000 (12:53 -0700)
R=gri
CC=golang-dev
https://golang.org/cl/1372042

src/pkg/big/int.go

index da4e1c83ca1a6202a860c8020a37017b1aefab06..873d5b50cf9a75034c971f2eca252bf9e38f1a3d 100755 (executable)
@@ -225,12 +225,12 @@ func (z *Int) Mod(x, y *Int) *Int {
 // and returns the pair (z, m) for y != 0.
 // If y == 0, a division-by-zero run-time panic occurs.
 //
-// DivMod implements Euclidian division and modulus (unlike Go):
+// DivMod implements Euclidean division and modulus (unlike Go):
 //
 //     q = x div y  such that
 //     m = x - y*q  with 0 <= m < |q|
 //
-// (See Raymond T. Boute, ``The Euclidian definition of the functions
+// (See Raymond T. Boute, ``The Euclidean definition of the functions
 // div and mod''. ACM Transactions on Programming Languages and
 // Systems (TOPLAS), 14(2):127-144, New York, NY, USA, 4/1992.
 // ACM press.)