package p4spectec

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

Module Builtin.NumericsSource

module Typ = Runtime.Type.Typ
module Value = Runtime.Value
Sourceval max_bit_width : Bigint.t
Sourceval bits_of_value : Lang.Il.value -> bool array
Sourceval value_of_bits : (Lang.Il.value -> unit) -> bool array -> Lang.Il.value
Sourceval bigint_of_value : Lang.Il.value -> Bigint.t
Sourceval value_of_bigint : (Lang.Il.value -> unit) -> Bigint.t -> Lang.Il.value
Sourceval shl' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr_arith' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr_arith : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval pow2' : Bigint.t -> Bigint.t
Sourceval bitstr_to_int' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitstr_to_int : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bitstr' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval int_to_bitstr : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bits_to_int_unsigned' : bool array -> Bigint.t
Sourceval bits_to_int_unsigned : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bits_to_int_signed' : bool array -> Bigint.t
Sourceval bits_to_int_signed : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bits_unsigned' : Bigint.t -> int -> bool array
Sourceval int_to_bits_unsigned : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bits_signed : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bitacc' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitacc_replace' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitacc_replace : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value