pub fn cast<T: NumCast, U: NumCast>(n: T) -> U
Cast from a typed scalar to another based on num_traits
num_traits