commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject [math] Formatting Infinities and NaN in exception messages
Date Thu, 25 Nov 2010 06:53:45 GMT
Researching MATH-414, I am seeing this stacktrace:

org.apache.commons.math.ConvergenceException: Continued fraction diverged to
NaN for value ?
    at
org.apache.commons.math.util.ContinuedFraction.evaluate(ContinuedFraction.java:186)

The "?" should represent positive infinity (the actual parameter passed to
the exception constructor).  Any ideas on how we can modify our framework to
support formatting infinities and NaNs?

Phil

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message