]> gitweb.factorcode.org Git - factor.git/commitdiff
checksums.crc16: fix use of crc16-polynomial in the literal
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 21:48:13 +0000 (13:48 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 21:48:13 +0000 (13:48 -0800)
basis/checksums/crc16/crc16.factor

index 1bb2a37422c48b431c8d0a4a3d77f4a21f34141b..372998d5547822f789981a23257ea9729bcffe04 100644 (file)
@@ -3,7 +3,9 @@
 USING: checksums endian kernel literals math sequences sequences.private ;
 IN: checksums.crc16
 
+<<
 CONSTANT: crc16-polynomial 0xa001
+>>
 
 CONSTANT: crc16-table $[
     256 <iota> [