Function std::num::from_f64Unstable [-]  [+] [src]

pub fn from_f64<A>(n: f64) -> Option<A> where A: FromPrimitive

A utility function that just calls FromPrimitive::from_f64.