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