pub fn divide(a: f64, b: f64) -> Result<f64>
Performs floating-point division of two numbers. Returns an error if the divisor is zero.