pub struct surd64 {
pub coef: r64,
pub radicand: u64,
}Expand description
Surd Type using 64 bit components - composed of a rational coefficient and a u32 radicand - i.e. for coefficient A and radicand B, this is A * sqrt(B); Cannot be Added or Subtracted, but can be multiplied and divided.
Fields§
§coef: r64Rational coefficient.
radicand: u64Radicand.
Implementations§
Trait Implementations§
Source§impl DivAssign<&i64> for surd64
impl DivAssign<&i64> for surd64
Source§fn div_assign(&mut self, other: &i64)
fn div_assign(&mut self, other: &i64)
Performs the
/= operation. Read moreSource§impl DivAssign<&surd64> for surd64
impl DivAssign<&surd64> for surd64
Source§fn div_assign(&mut self, other: &surd64)
fn div_assign(&mut self, other: &surd64)
Performs the
/= operation. Read moreSource§impl DivAssign<&u64> for surd64
impl DivAssign<&u64> for surd64
Source§fn div_assign(&mut self, other: &u64)
fn div_assign(&mut self, other: &u64)
Performs the
/= operation. Read moreSource§impl DivAssign<i64> for surd64
impl DivAssign<i64> for surd64
Source§fn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
Performs the
/= operation. Read moreSource§impl DivAssign<u64> for surd64
impl DivAssign<u64> for surd64
Source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the
/= operation. Read moreSource§impl DivAssign for surd64
impl DivAssign for surd64
Source§fn div_assign(&mut self, other: surd64)
fn div_assign(&mut self, other: surd64)
Performs the
/= operation. Read moreSource§impl MulAssign<&i64> for surd64
impl MulAssign<&i64> for surd64
Source§fn mul_assign(&mut self, other: &i64)
fn mul_assign(&mut self, other: &i64)
Performs the
*= operation. Read moreSource§impl MulAssign<&surd64> for surd64
impl MulAssign<&surd64> for surd64
Source§fn mul_assign(&mut self, other: &surd64)
fn mul_assign(&mut self, other: &surd64)
Performs the
*= operation. Read moreSource§impl MulAssign<&u64> for surd64
impl MulAssign<&u64> for surd64
Source§fn mul_assign(&mut self, other: &u64)
fn mul_assign(&mut self, other: &u64)
Performs the
*= operation. Read moreSource§impl MulAssign<i64> for surd64
impl MulAssign<i64> for surd64
Source§fn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
Performs the
*= operation. Read moreSource§impl MulAssign<u64> for surd64
impl MulAssign<u64> for surd64
Source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the
*= operation. Read moreSource§impl MulAssign for surd64
impl MulAssign for surd64
Source§fn mul_assign(&mut self, other: surd64)
fn mul_assign(&mut self, other: surd64)
Performs the
*= operation. Read moreimpl Copy for surd64
impl Eq for surd64
impl StructuralPartialEq for surd64
Auto Trait Implementations§
impl Freeze for surd64
impl RefUnwindSafe for surd64
impl Send for surd64
impl Sync for surd64
impl Unpin for surd64
impl UnsafeUnpin for surd64
impl UnwindSafe for surd64
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