Error Messages/42375

< Error Messages
Revision as of 20:03, 15 April 2013 by Lchrisman (talk | contribs) (Created page with "= Warning Message = :Warning: Exponentiation of a number that is too large to represent, overflows to become INF. = Cause = This occurs when <code>Exp(x)</code> is eva...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Warning Message

Warning: Exponentiation of a number that is too large to represent, overflows to become INF.

Cause

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.

Remedy

In numeric applications where the values involved overflow the floating point range, a standard approach is to re-arrange your calculations to use the logrithms of the numbers instead of the numbers themselves.

See Also

Comments


You are not allowed to post comments.