pub fn theorem<T: Into<f64>>(a: T, b: T) -> f64
Calculates Pythagoras. #Examples
let a = 3; let b = 4; let c = pythagoras::theorem(a, b); assert_eq!(5f64, c);