package integers
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=f608ce98caf41ddb4eea90e8673bb8ff35acb07ef951bc0bf75b5989ef9b36b8
md5=24d629966763b4956edfb7e64d6c5427
doc/integers/Unsigned/ULong/index.html
Module Unsigned.ULong
Source
The unsigned long integer type and 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 Pervasives.compare
.
Tests for equality, with the same specification as Pervasives.(=)
.
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.