pub fn d(x: f32) -> f32