[go: up one dir, main page]

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

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

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

Split a floating-point number

Required Methods

Split factor used in the algorithm

Provided Methods

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

Implementations on Foreign Types

impl Split for f32
[src]

[src]

[src]

impl Split for f64
[src]

[src]

[src]

Implementors