Fields
x: BIG
xes: i32
Implementations
sourceimpl FP
impl FP
pub fn new() -> FP
pub fn new_int(a: isize) -> FP
pub fn new_copy(y: &FP) -> FP
pub fn new_big(y: &BIG) -> FP
pub fn nres(&mut self)
pub fn from_hex_iter(iter: &mut SplitWhitespace<'_>) -> FP
pub fn from_hex(val: String) -> FP
pub fn to_hex(&self) -> String
pub fn redc(&mut self) -> BIG
pub fn modulo(d: &mut DBIG) -> BIG
pub fn tostring(&mut self) -> String
pub fn reduce(&mut self)
pub fn iszilch(&self) -> bool
pub fn copy(&mut self, b: &FP)
pub fn bcopy(&mut self, b: &BIG)
pub fn zero(&mut self)
pub fn one(&mut self)
pub fn norm(&mut self)
pub fn cswap(&mut self, b: &mut FP, d: isize)
pub fn cmove(&mut self, b: &FP, d: isize)
pub fn mul(&mut self, b: &FP)
pub fn neg(&mut self)
pub fn imul(&mut self, c: isize)
pub fn sqr(&mut self)
pub fn add(&mut self, b: &FP)
pub fn dbl(&mut self)
pub fn sub(&mut self, b: &FP)
pub fn rsub(&mut self, b: &FP)
pub fn div2(&mut self)
pub fn fpow(&mut self) -> FP
pub fn inverse(&mut self)
pub fn equals(&self, a: &FP) -> bool
pub fn pow(&mut self, e: &mut BIG) -> FP
pub fn sqrt(&mut self) -> FP
pub fn jacobi(&mut self) -> isize
Trait Implementations
impl Copy for FP
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more