pub unsafe extern "C" fn errmod_cal( em: *const errmod_t, n: i32, m: i32, bases: *mut u16, q: *mut f32, ) -> i32