Macro get_suitable_float

Source
macro_rules! get_suitable_float {
    (i8  ) => { ... };
    (i16 ) => { ... };
    (i24 ) => { ... };
    (i32 ) => { ... };
    (i64 ) => { ... };
    (i128) => { ... };
    (u8  ) => { ... };
    (u16 ) => { ... };
    (u24 ) => { ... };
    (u32 ) => { ... };
    (u64 ) => { ... };
    (u128) => { ... };
    (f32 ) => { ... };
    (f64 ) => { ... };
}
Expand description
  • Get the suitable float type for the source type to perform losslessly conversion