Trait malachite_base::num::arithmetic::traits::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

§

type Output = f32

source§

impl Ceiling for f64

source§

fn ceiling(self) -> f64

This is a wrapper over the ceil functions in libm

§

type Output = f64

Implementors§