Adjust test to handle printf("%f", float_array).

TypeSpec::is_floatbased() specifically excludes arrays.