package stdcompat

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stdcompat.NativeintSource

Sourcetype t = nativeint

Alias for Nativeint.t

Sourceval seeded_hash : int -> t -> int
  • since 5.1.0: val seeded_hash : int -> t -> int
Sourceval hash : t -> int
  • since 5.1.0: val hash : t -> int
Sourceval min : t -> t -> t
  • since 4.13.0: val min : t -> t -> t
Sourceval max : t -> t -> t
  • since 4.13.0: val max : t -> t -> t
Sourceval unsigned_div : nativeint -> nativeint -> nativeint
  • since 4.08.0: val unsigned_div : nativeint -> nativeint -> nativeint
Sourceval unsigned_rem : nativeint -> nativeint -> nativeint
  • since 4.08.0: val unsigned_rem : nativeint -> nativeint -> nativeint
Sourceval unsigned_to_int : nativeint -> int option
  • since 4.08.0: val unsigned_to_int : nativeint -> int option
Sourceval unsigned_compare : t -> t -> int
  • since 4.08.0: val unsigned_compare : t -> t -> int
Sourceval of_string_opt : string -> nativeint option
  • since 4.05.0: val of_string_opt : string -> nativeint option
Sourceval equal : t -> t -> bool
  • since 4.03.0: val equal : t -> t -> bool
Sourceval zero : nativeint

Alias for Nativeint.zero

Sourceval one : nativeint

Alias for Nativeint.one

Sourceval minus_one : nativeint
Sourceval neg : nativeint -> nativeint

Alias for Nativeint.neg

Sourceval add : nativeint -> nativeint -> nativeint

Alias for Nativeint.add

Sourceval sub : nativeint -> nativeint -> nativeint

Alias for Nativeint.sub

Sourceval mul : nativeint -> nativeint -> nativeint

Alias for Nativeint.mul

Sourceval div : nativeint -> nativeint -> nativeint

Alias for Nativeint.div

Sourceval rem : nativeint -> nativeint -> nativeint

Alias for Nativeint.rem

Sourceval succ : nativeint -> nativeint

Alias for Nativeint.succ

Sourceval pred : nativeint -> nativeint

Alias for Nativeint.pred

Sourceval abs : nativeint -> nativeint

Alias for Nativeint.abs

Sourceval size : int

Alias for Nativeint.size

Sourceval max_int : nativeint
Sourceval min_int : nativeint
Sourceval logand : nativeint -> nativeint -> nativeint
Sourceval logor : nativeint -> nativeint -> nativeint

Alias for Nativeint.logor

Sourceval logxor : nativeint -> nativeint -> nativeint
Sourceval lognot : nativeint -> nativeint
Sourceval shift_left : nativeint -> int -> nativeint
Sourceval shift_right : nativeint -> int -> nativeint
Sourceval shift_right_logical : nativeint -> int -> nativeint
Sourceval of_int : int -> nativeint
Sourceval to_int : nativeint -> int
Sourceval of_float : float -> nativeint
  • since 4.03.0:

external of_float : float -> nativeint = "caml_nativeint_of_float" "caml_nativeint_of_float_unboxed"@@unboxed @@noalloc

  • since 3.08.0:

external of_float : float -> nativeint = "caml_nativeint_of_float"

  • since 3.07.0: external of_float : float -> nativeint = "nativeint_of_float"
Sourceval to_float : nativeint -> float
  • since 4.03.0:

external to_float : nativeint -> float = "caml_nativeint_to_float" "caml_nativeint_to_float_unboxed"@@unboxed @@noalloc

  • since 3.08.0:

external to_float : nativeint -> float = "caml_nativeint_to_float"

  • since 3.07.0: external to_float : nativeint -> float = "nativeint_to_float"
Sourceval of_int32 : int32 -> nativeint
Sourceval to_int32 : nativeint -> int32
Sourceval of_string : string -> nativeint
  • since 3.08.0:

external of_string : string -> nativeint = "caml_nativeint_of_string"

  • since 3.07.0:

external of_string : string -> nativeint = "nativeint_of_string"

Sourceval to_string : nativeint -> string
Sourceval compare : t -> t -> int
OCaml

Innovation. Community. Security.