[][src]Trait float_next_after::NextAfter

pub trait NextAfter<T: Float> {
    fn next_after(&self, y: &T) -> T;
}

Get the next valid float in the direction of y

Base assumptions: self == y -> return y self >= infinity -> return infinity self <= negative infinity -> return negative infinity

Required methods

fn next_after(&self, y: &T) -> T

Loading content...

Implementors

impl<T: Float> NextAfter<T> for T[src]

Loading content...