Graalvm, Java, Performance, Programming.
of `double`s, checking each for erroneous NaN (“not a number”) values: boolean seenError = false; for (int i = 0; i < array.length; i++) { if (Double.isNaN(array[i])) { seenError = true; } array[i] = array[i] + increment; } If the isNaN check has never failed before this code is compiled, the