package integers
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7b4bd5f03270201aa22612137edb7844f752e201012b6b584620b76fa0062bf8
md5=a1e2412f4a0d88757d1a4297f18b374e
doc/integers/Signed/LLong/index.html
Module Signed.LLong
Source
The signed long long integer type and operations.
include Unsigned.S with type t := t with module Infix := Infix
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.
shift_right_logical
x
y
shifts x
to the right by y
bits. See Int32.shift_right_logical
.