fffe2464cd
to compensate for neon ieee754 non-compliancy. Also changed the comparison between max valid and calculated distance to make the error message more accurate (in case curMaxDist == maxDist)