pub fn get_squaremax<NQ>(d: *mut f32, nquads: NQ) -> f32 where NQ: TryInto<u32>, <NQ as TryInto<u32>>::Error: Debug,