package dlm
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=54d12d454fed75a7af4989744f43958d2cf3a7b416e3de5006c96eed3ddfdcb3
sha512=d6a2fe1d35cd449f41aa2dbafc8018d1565968cc30e545a0501f19b9d8a4de2d05a7537bbf9ffc17257b79e421940eb01a45e885972d60c20fa32d38e1a54d9a
doc/dlm.bindings-structs/Bindings_structs_lib/Bindings_structs/Make/argument-1-S/Uintptr/index.html
Module S.Uintptr
Division. Raise Division_by_zero if the second argument is zero.
Integer remainder. Raise Division_by_zero if the second argument is zero.
val max_int : tThe greatest representable integer.
shift_left x y shifts x to the left by y bits.
shift_right x y shifts x to the right by y bits.
val of_int : int -> tConvert the given int value to an unsigned integer.
val to_int : t -> intConvert the given unsigned integer value to an int.
val of_int64 : int64 -> tConvert the given int64 value to an unsigned integer.
val to_int64 : t -> int64Convert the given unsigned integer value to an int64.
val of_string : string -> tConvert the given string to an unsigned integer. Raise Failure if the given string is not a valid representation of an unsigned integer.
val to_string : t -> stringReturn the string representation of its argument.
val to_hexstring : t -> stringReturn the hexadecimal string representation of its argument.
val zero : tThe integer 0.
val one : tThe integer 1.
The comparison function for unsigned integers, with the same specification as Stdlib.compare.
Tests for equality, with the same specification as Stdlib.(=).
val of_string_opt : string -> t optionConvert the given string to an unsigned integer. Returns None if the given string is not a valid representation of an unsigned integer.
val pp : Format.formatter -> t -> unitOutput the result of to_string on a formatter.
val pp_hex : Format.formatter -> t -> unitOutput the result of to_hexstring on a formatter.
module Infix : Unsigned.Infix with type t := t