Trait erydanos::Roundable

source ·
pub trait Roundable {
    // Required method
    fn efloor(self) -> Self;
}

Required Methods§

source

fn efloor(self) -> Self

Rounds value towards infinity

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Roundable for f32

source§

fn efloor(self) -> Self

source§

impl Roundable for f64

source§

fn efloor(self) -> Self

Implementors§