package ctypes
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=af968e9f47071574c08387d8701160543288c2f85f57ac8085807b2d6bd1368f
md5=846f9ce0638e9a2046a4771a4c47c2d8
doc/ctypes/Unsigned/UInt32/index.html
Module Unsigned.UInt32
Unsigned 32-bit integer type and operations.
include S
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 "int_of_string" 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 zero : tThe integer 0.
val one : tThe integer 1.
The comparison function for unsigned integers, with the same specification as Pervasives.compare.
module Infix : sig ... endInfix names for the unsigned integer operations.
val of_int32 : int32 -> tval to_int32 : t -> int32