summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2014-11-12 18:48:00 +1100
committerNigel Tao <nigeltao@golang.org>2014-11-12 18:48:00 +1100
commit5ee7f2352ffea9e0bcbbd80b4e545daccd1d0224 (patch)
treee9ae521fcd03d21b7527e1cac9f0263d5ff83b92
parentd2aa0361764efed97d01bea3f873fa70a59c16a5 (diff)
downloadgo-5ee7f2352ffea9e0bcbbd80b4e545daccd1d0224.tar.gz
hash/crc32: fix comment that the IEEE polynomial applies to MPEG-2.
LGTM=minux R=adg, minux CC=golang-codereviews https://codereview.appspot.com/170520043
-rw-r--r--src/hash/crc32/crc32.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/crc32/crc32.go b/src/hash/crc32/crc32.go
index a2a21a06f..6a6b9473b 100644
--- a/src/hash/crc32/crc32.go
+++ b/src/hash/crc32/crc32.go
@@ -17,8 +17,8 @@ const Size = 4
// Predefined polynomials.
const (
- // Far and away the most common CRC-32 polynomial.
- // Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, mpeg-2, ...
+ // IEEE is by far and away the most common CRC-32 polynomial.
+ // Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, ...
IEEE = 0xedb88320
// Castagnoli's polynomial, used in iSCSI.