That number looks like a very specific constant, but one I admittedly don't recognise. I've used Calc.exe to tell me what is in hex, and its 14 digits. I'm going to assume doubles have a 14 byte mantissa and a 2 byte exponent.
First thing that springs to mind is unchecked. Could we be looking at a run time error?
Or, infinity? The loop I suspect makes no difference.