Use f64 everywhere