#[repr(C)]pub struct f128(pub f64, pub f64);
fft128
only.Expand description
128-bit floating point number.
Tuple Fields§
§0: f64
§1: f64
Implementations§
Source§impl f128
impl f128
Sourcepub fn add_f64_f64(a: f64, b: f64) -> Self
pub fn add_f64_f64(a: f64, b: f64) -> Self
Adds a
and b
and returns the result.
Sourcepub fn add_f128_f64(a: f128, b: f64) -> Self
pub fn add_f128_f64(a: f128, b: f64) -> Self
Adds a
and b
and returns the result.
Sourcepub fn add_f64_f128(a: f64, b: f128) -> Self
pub fn add_f64_f128(a: f64, b: f128) -> Self
Adds a
and b
and returns the result.
Sourcepub fn add_estimate_f128_f128(a: f128, b: f128) -> Self
pub fn add_estimate_f128_f128(a: f128, b: f128) -> Self
Adds a
and b
and returns the result.
This function has a slightly higher error bound than Self::add_f128_f128
Sourcepub fn add_f128_f128(a: f128, b: f128) -> Self
pub fn add_f128_f128(a: f128, b: f128) -> Self
Adds a
and b
and returns the result.
Sourcepub fn sub_f64_f64(a: f64, b: f64) -> Self
pub fn sub_f64_f64(a: f64, b: f64) -> Self
Subtracts b
from a
and returns the result.
Sourcepub fn sub_f128_f64(a: f128, b: f64) -> Self
pub fn sub_f128_f64(a: f128, b: f64) -> Self
Subtracts b
from a
and returns the result.
Sourcepub fn sub_f64_f128(a: f64, b: f128) -> Self
pub fn sub_f64_f128(a: f64, b: f128) -> Self
Subtracts b
from a
and returns the result.
Sourcepub fn sub_estimate_f128_f128(a: f128, b: f128) -> Self
pub fn sub_estimate_f128_f128(a: f128, b: f128) -> Self
Subtracts b
from a
and returns the result.
This function has a slightly higher error bound than Self::sub_f128_f128
Sourcepub fn sub_f128_f128(a: f128, b: f128) -> Self
pub fn sub_f128_f128(a: f128, b: f128) -> Self
Subtracts b
from a
and returns the result.
Sourcepub fn mul_f64_f64(a: f64, b: f64) -> Self
pub fn mul_f64_f64(a: f64, b: f64) -> Self
Multiplies a
and b
and returns the result.
Sourcepub fn mul_f128_f64(a: f128, b: f64) -> Self
pub fn mul_f128_f64(a: f128, b: f64) -> Self
Multiplies a
and b
and returns the result.
Sourcepub fn mul_f64_f128(a: f64, b: f128) -> Self
pub fn mul_f64_f128(a: f64, b: f128) -> Self
Multiplies a
and b
and returns the result.
Sourcepub fn mul_f128_f128(a: f128, b: f128) -> Self
pub fn mul_f128_f128(a: f128, b: f128) -> Self
Multiplies a
and b
and returns the result.
Sourcepub fn div_f64_f64(a: f64, b: f64) -> Self
pub fn div_f64_f64(a: f64, b: f64) -> Self
Divides a
by b
and returns the result.
Sourcepub fn div_f128_f64(a: f128, b: f64) -> Self
pub fn div_f128_f64(a: f128, b: f64) -> Self
Divides a
by b
and returns the result.
Sourcepub fn div_f64_f128(a: f64, b: f128) -> Self
pub fn div_f64_f128(a: f64, b: f128) -> Self
Divides a
by b
and returns the result.
Sourcepub fn div_estimate_f128_f128(a: f128, b: f128) -> Self
pub fn div_estimate_f128_f128(a: f128, b: f128) -> Self
Divides a
by b
and returns the result.
This function has a slightly higher error bound than Self::div_f128_f128
Sourcepub fn div_f128_f128(a: f128, b: f128) -> Self
pub fn div_f128_f128(a: f128, b: f128) -> Self
Divides a
by b
and returns the result.
Trait Implementations§
Source§impl AddAssign<f64> for f128
impl AddAssign<f64> for f128
Source§fn add_assign(&mut self, rhs: f64)
fn add_assign(&mut self, rhs: f64)
+=
operation. Read moreSource§impl AddAssign for f128
impl AddAssign for f128
Source§fn add_assign(&mut self, rhs: f128)
fn add_assign(&mut self, rhs: f128)
+=
operation. Read moreSource§impl DivAssign<f64> for f128
impl DivAssign<f64> for f128
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
/=
operation. Read moreSource§impl DivAssign for f128
impl DivAssign for f128
Source§fn div_assign(&mut self, rhs: f128)
fn div_assign(&mut self, rhs: f128)
/=
operation. Read moreSource§impl MulAssign<f64> for f128
impl MulAssign<f64> for f128
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
*=
operation. Read moreSource§impl MulAssign for f128
impl MulAssign for f128
Source§fn mul_assign(&mut self, rhs: f128)
fn mul_assign(&mut self, rhs: f128)
*=
operation. Read moreSource§impl PartialOrd<f128> for f64
impl PartialOrd<f128> for f64
Source§impl PartialOrd<f64> for f128
impl PartialOrd<f64> for f128
Source§impl PartialOrd for f128
impl PartialOrd for f128
Source§impl SubAssign<f64> for f128
impl SubAssign<f64> for f128
Source§fn sub_assign(&mut self, rhs: f64)
fn sub_assign(&mut self, rhs: f64)
-=
operation. Read moreSource§impl SubAssign for f128
impl SubAssign for f128
Source§fn sub_assign(&mut self, rhs: f128)
fn sub_assign(&mut self, rhs: f128)
-=
operation. Read more