[go: up one dir, main page]

[][src]Trait accurate::util::traits::Split

pub trait Split: Float {
    fn split_factor() -> Self;

    fn split(self) -> (Self, Self) { ... }
}

Split a floating-point number

Required methods

fn split_factor() -> Self

Split factor used in the algorithm

Loading content...

Provided methods

fn split(self) -> (Self, Self)

Split a floating-point number

Splits a number x into two parts:

x = h + t

with h and t nonoverlapping and t.abs() <= h.abs()

References

Due to Veltkamp, published in Dekker 71

Loading content...

Implementations on Foreign Types

impl Split for f32[src]

impl Split for f64[src]

Loading content...

Implementors

Loading content...