Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
exception Not_in_field of Bytes.t
type t = Fr.t
val order : Z.t
val zero : t
val one : t
val is_zero : t -> bool
val is_one : t -> bool
val random : ?state:Random.State.t -> unit -> t
val non_null_random : ?state:Random.State.t -> unit -> t
val factor_power_of_two : int * Z.t
val of_string : string -> t
val to_string : t -> string
val is_quadratic_residue : t -> bool
val check_bytes : Bytes.t -> bool