Did you know ...
Search Documentation:
Pack canny_tudor -- prolog/canny/crc.pl
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
crc
(+Predefined, -CRC)
is
semidet
Builds a predefined
CRC
accumulator.
Arguments:
Predefined
- specifies a predefined
CRC
computation.
CRC
- a newly-initialised
CRC
term with the correct polynomial, initial value and any necessary options such as bit reversal and inversion value.
crc_property
(+CRC, ?Property)
is
semidet
Extracts the
CRC
's checksum for comparison, or unifies with other interesting values belonging to a
CRC
accumulator.
crc
(+CRC0, +Term, -CRC)
is
semidet
Mutates
CRC0
to
CRC
by feeding in a byte code, or a list of byte codes.
Arguments:
CRC0
- the initial or thus-far accumulated
CRC
.
Term
- a byte code or a list of byte codes.
CRC
- the updated
CRC
.
crc_16_mcrf4xx
(-Check)
is
det
Initialises CRC-16/MCRF4XX checksum.
crc_16_mcrf4xx
(+Check0, +Data, -Check)
is
det
Accumulates CRC-16/MCRF4XX checksum using optimal shifting and exclusive-OR operations.