pub fn atv2(x: f32, coarse: bool) -> f32