Skip to main content

NextDown

Trait NextDown 

Source
pub trait NextDown: Sized {
    type Output;

    // Required method
    fn next_down(self) -> Self::Output;
}
Expand description

Steps one ULP towards negative infinity.

Required Associated Types§

Source

type Output

Returns the greatest number less than self (one ULP down). Follows the inherent next_down semantics for zeros, infinities and NaN.

Required Methods§

Source

fn next_down(self) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NextDown for f32

Source§

impl NextDown for f64

Implementors§