traiter 4.0.0

Traits collection.
Documentation
pub trait Ceil {
    type Output;

    /// Returns ceiling of a number.
    ///
    #[cfg_attr(
        feature = "std",
        doc = r##"
```
use traiter::numbers::Ceil;
// floating point numbers
assert_eq!(Ceil::ceil(-1.5_f32), -1.0_f32);
assert_eq!(Ceil::ceil(0.0_f32), 0.0_f32);
assert_eq!(Ceil::ceil(1.5_f32), 2.0_f32);
```
"##
    )]
    fn ceil(self) -> Self::Output;
}

macro_rules! float_ceil_impl {
    ($($float:ty)*) => ($(
        impl Ceil for $float {
            type Output = Self;

            #[inline(always)]
            fn ceil(self) -> Self::Output {
                <$float>::ceil(self)
            }
        }
    )*)
}

#[cfg(feature = "std")]
float_ceil_impl!(f32 f64);