Function documentation::my_crate::arith_container::half
source · pub fn half(x: i32) -> f32
Expand description
Returns half of the given number.
Example
let arg = 5;
let ans = my_crate::square(arg);
asswert_eq!(25, ans);