package integers
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b0116f785d62d03ad8873bdaededcdc637aeca6709318ed343f9cc5568bfa1f2
md5=41f6edc33b9a877a1ec96895491b734c
doc/integers/Unsigned/UInt16/index.html
Module Unsigned.UInt16Source
Unsigned 16-bit 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.