pub fn clock(x: f32) -> f32