public class ApfloatRuntimeException extends RuntimeException
new Apfloat(2).divide(new Apfloat(3))
, in radix 10.long
,
the situation can't be handled. Also, there is no "infinity" apfloat
value that could be returned as the result.ApfloatMath.sin(new Apfloat(1e100))
.
If the magnitude (100) is far greater than the precision (1) then
the value of the sin()
function can't be determined
to any accuracy.Constructor and Description |
---|
ApfloatRuntimeException()
Constructs a new apfloat runtime exception with an empty detail message.
|
ApfloatRuntimeException(String message)
Constructs a new apfloat runtime exception with the specified detail message.
|
ApfloatRuntimeException(String message,
Throwable cause)
Constructs a new apfloat runtime exception with the specified detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ApfloatRuntimeException()
public ApfloatRuntimeException(String message)
message
- The detail message.Copyright © 2017. All rights reserved.