pub fn expect_float_array( input: &str, idx: usize, count: usize, arr: &mut [f32], ) -> Result<usize, &'static str>