exception Not_in_field of Stdlib.Bytes.tval check_bytes : Stdlib.Bytes.t -> boolval random : ?state:Stdlib.Random.State.t -> unit -> tval non_null_random : ?state:Stdlib.Random.State.t -> unit -> tval inverse_opt : t -> t optionval div_exn : t -> t -> tval div_opt : t -> t -> t optionval of_bytes_exn : Stdlib.Bytes.t -> tval of_bytes_opt : Stdlib.Bytes.t -> t optionval to_bytes : t -> Stdlib.Bytes.tval factor_power_of_two : int * Z.tval of_string : string -> tval to_string : t -> stringval legendre_symbol : t -> Z.tval is_quadratic_residue : t -> boolval sqrt_opt : t -> t option