https://github.com/mapcode-foundation/mapcode-java/blob/master/src/main/java/com/mapcode/Point.java#L173 x, y and z can never be NaN so it's not possible for a NaN to show up later.