haar_
lib
0.1.0
In haar_
lib::
math::
mod_
ops::
sqrt
haar_lib
::
math
::
mod_ops
::
sqrt
Function
mod_sqrt
Copy item path
Source
pub fn mod_sqrt(a:
u64
, p:
u64
) ->
Option
<
u64
>
Expand description
x² = a (mod p)を満たすxを一つ求める。