]> Cypherpunks repositories - gostls13.git/commitdiff
hash/crc32: fix comment that the IEEE polynomial applies to MPEG-2.
authorNigel Tao <nigeltao@golang.org>
Wed, 12 Nov 2014 07:48:00 +0000 (18:48 +1100)
committerNigel Tao <nigeltao@golang.org>
Wed, 12 Nov 2014 07:48:00 +0000 (18:48 +1100)
LGTM=minux
R=adg, minux
CC=golang-codereviews
https://golang.org/cl/170520043

src/hash/crc32/crc32.go

index a2a21a06f950bf722f78adf70a46867b2c0d9042..6a6b9473bea45b9db127a5c03eb0809f061e9147 100644 (file)
@@ -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.