ark_ff
0.4.2
In ark_
ff::
fields::
models::
fp
Macros
MontFp
Structs
Fp
MontBackend
Traits
FpConfig
MontConfig
Functions
can_use_no_carry_mul_optimization
can_use_no_carry_square_optimization
inv
modulus_has_spare_bit
sqrt_precomputation
Type Aliases
Fp128
Fp192
Fp256
Fp320
Fp384
Fp448
Fp512
Fp576
Fp64
Fp640
Fp704
Fp768
Fp832
Derive Macros
MontConfig
ark_ff
::
fields
::
models
::
fp
Function
inv
Copy item path
Settings
Help
Summary
Source
pub const fn inv<T:
MontConfig
<N>, const N:
usize
>() ->
u64
Expand description
Compute -M^{-1} mod 2^64.