Warning: Exponentiation of a number that is too large to represent, overflows to become INF.
This occurs when Exp(x) is evaluated for a value of x > 709.782. At that point, the result would be larger than 1.796e+308, too large to be represented by a 64-bit double precision floating point number. If you ignore this warning, the special value of INF is returned.
In numeric applications where the values involved overflow the floating point range, a standard approach is to re-arrange your calculations to use the logarithms of the numbers instead of the numbers themselves.