Yes, that's infinity, more precise positive infinite (or course negative infinite has a - in front). You get infinity when the result of an operation falls outside of the range supported for the specific data type. In the case of float the range is aprox. -3.4E38 .. + 3.4E38. You can try to use double which has a range of aprox. -1.7E308 .. 1.7E308.