package secp256k1-internal
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val zero : unit -> t
val one : unit -> t
val of_uint16 : int -> t
val of_uint32 : int32 -> t
val of_uint64 : int64 -> t
val get_bin : Cstruct.t -> t -> unit
Convert a number's absolute value to a binary big-endian string. There must be enough place.
val set_bin : t -> Cstruct.t -> unit
Set a number to the value of a binary big-endian string.
mod_inverse r a m
Compute a modular inverse. The input must be less than the modulus.
Replace a number by its remainder modulo m. M's sign is ignored. The result is a number between 0 and m-1, even if r was negative.
val shift : t -> int -> unit
shift t bits
Right-shift the passed number by bits
bits.
val is_zero : t -> bool
Check whether a number is zero.
val is_one : t -> bool
Check whether a number is one.
val is_neg : t -> bool
Check whether a number is strictly negative.
val negate : t -> unit
Change a number's sign.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>