pub fn mspeed(v: f32) -> f32