@return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if nosuch index exists.
@description returns the index of the first appearance of the value {@code target} in {@code array}. notethat this always returns {@code -1} when {@code target} is {@code nan}.
"public static int indexOf(float[] array,float target)"