Function numbers_rus::floats::base_float::base_float::is_even_float
source · pub fn is_even_float(number: f64) -> boolExpand description
Checks whether the given f64 number is even. Returns true if the number is even, otherwise false. The function calculates the remainder of the input number divided by 2.0 and compares it to 0.0. If they are equal, the input number is even.