package integers
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8bb517fa9a1818246eb8c4ce34ee1489fbebb4b92defa3a25d13cab8d23ec685
md5=201cf24143d7cb9a3921d572b6e6c42c
doc/integers/Unsigned/module-type-S/index.html
Module type Unsigned.SSource
Unsigned integer operations.
Division. Raise Division_by_zero if the second argument is zero.
Integer remainder. Raise Division_by_zero if the second argument is zero.
shift_left x y shifts x to the left by y bits.
shift_right x y shifts x to the right by y bits.
Convert the given string to an unsigned integer. Raise Failure if the given string is not a valid representation of an unsigned integer.
The comparison function for unsigned integers, with the same specification as Stdlib.compare.
Tests for equality, with the same specification as Stdlib.(=).
Convert the given string to an unsigned integer. Returns None if the given string is not a valid representation of an unsigned integer.
Output the result of to_string on a formatter.
Output the result of to_hexstring on a formatter.