Commit 8ae29642 authored by Russ Cox's avatar Russ Cox

big: fix spelling of Euclidean

R=gri
CC=golang-dev
https://golang.org/cl/1372042
parent c0b378ff
...@@ -225,12 +225,12 @@ func (z *Int) Mod(x, y *Int) *Int { ...@@ -225,12 +225,12 @@ func (z *Int) Mod(x, y *Int) *Int {
// and returns the pair (z, m) for y != 0. // and returns the pair (z, m) for y != 0.
// If y == 0, a division-by-zero run-time panic occurs. // 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 // q = x div y such that
// m = x - y*q with 0 <= m < |q| // 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 // div and mod''. ACM Transactions on Programming Languages and
// Systems (TOPLAS), 14(2):127-144, New York, NY, USA, 4/1992. // Systems (TOPLAS), 14(2):127-144, New York, NY, USA, 4/1992.
// ACM press.) // ACM press.)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment