package posix-time2
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=03d384b20e46da8598a69942ef92b53e
sha512=6f5fa0fd5f3f0b845c2c9cd46a53e518dc5187f1ea7450fc04bbdc4c7b6fbcc427253e60847cc14f5bff895622e18aea404fbd8e14d4b50f52a7c0e682621ac8
doc/posix-time2.constants/Posix_time2_constants/Def/argument-1-S/Intptr/index.html
Module S.Intptr
module Infix : Signed.Infix with type t := tinclude 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.
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_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.
val minus_one : tThe value -1
val min_int : tThe smallest representable integer.
shift_right_logical x y shifts x to the right by y bits. See Int32.shift_right_logical.
val of_nativeint : nativeint -> tConvert the given nativeint value to a signed integer.
val to_nativeint : t -> nativeintConvert the given signed integer to a nativeint value.
val of_int64 : int64 -> tConvert the given int64 value to a signed integer.
val to_int64 : t -> int64Convert the given signed integer to an int64 value.