Hi, Could anybody please give me one example about Float.NaN or Double.NaN. I read in one book that you will get NaN if you divide 0.0 by 0.0 or if you multiply any floating point value with infinity. I don't get it. Thanks.
One more thing tony, multiplying a number with infinity means multiplying it with either number/0 or -number/0 right. In that case we will get NEGATIVE and POSITIVE INFINITY right. But the book i read says if you multiply a number with infinity you will get NaN. That's why i got confused.