NaN means “Not a Number”
NaN
println(0.0/0.0); println(sqrt(-1));
why not show the code what produces it?