Trait Ceiling

Source
pub trait Ceiling {
    type Output;

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

Takes the ceiling of a number.

Required Associated Types§

Required Methods§

Source

fn ceiling(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl Ceiling for f32

Source§

fn ceiling(self) -> f32

This is a wrapper over the ceil functions in libm

Source§

type Output = f32

Source§

impl Ceiling for f64

Source§

fn ceiling(self) -> f64

This is a wrapper over the ceil functions in libm

Source§

type Output = f64

Implementors§