Function dactyl::int_div_float[][src]

#[must_use]pub fn int_div_float<T>(e: T, d: T) -> Option<f64> where
    T: AsPrimitive<f64>, 

Integer to Float Division.

This uses num_traits::cast to convert primitives to f64 as accurately as possible, then performs the division. For very large numbers, some rounding may occur.

If the result is invalid, NaN, or infinite, None is returned.