float_to_int 0.1.0

Conversions of integer-value floats into integers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "nightly", feature(int_log, unchecked_math))]
#![cfg_attr(docsrs, feature(doc_cfg))]

macro_rules! flat_mod {
    ($($i:ident),+) => {
        $(
            mod $i;
            pub use $i::*;
        )+
    }
}

flat_mod! { float, try_into }