pub struct PrecisionCtx { /* private fields */ }Implementations§
Source§impl PrecisionCtx
impl PrecisionCtx
pub fn new(precision_bits: u64) -> Self
pub fn precision_bits(self) -> u64
pub fn add(self, lhs: &BigFloat, rhs: &BigFloat) -> BoxFloat
pub fn sub(self, lhs: &BigFloat, rhs: &BigFloat) -> BoxFloat
pub fn abs(self, x: &BigFloat) -> BoxFloat
pub fn mul(self, lhs: &BigFloat, rhs: &BigFloat) -> BoxFloat
pub fn div(self, lhs: &BigFloat, rhs: &BigFloat) -> BoxFloat
pub fn sqrt(self, x: &BigFloat) -> BoxFloat
pub fn rem(self, lhs: &BigFloat, rhs: &BigFloat) -> BoxFloat
pub fn remquo( self, quo: &mut [Limb], lhs: &BigFloat, rhs: &BigFloat, ) -> BoxFloat
Trait Implementations§
Source§impl Clone for PrecisionCtx
impl Clone for PrecisionCtx
Source§fn clone(&self) -> PrecisionCtx
fn clone(&self) -> PrecisionCtx
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrecisionCtx
impl Debug for PrecisionCtx
impl Copy for PrecisionCtx
Auto Trait Implementations§
impl Freeze for PrecisionCtx
impl RefUnwindSafe for PrecisionCtx
impl Send for PrecisionCtx
impl Sync for PrecisionCtx
impl Unpin for PrecisionCtx
impl UnwindSafe for PrecisionCtx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more