Class RadixMismatchException

java.lang.Object
All Implemented Interfaces:
Serializable

public class RadixMismatchException extends ApfloatInternalException
Exception indicating a different radix being used in two operands of a calculation.

While it's possible to convert numbers to different radixes using the toRadix() methods, this is highly inefficient. If numbers of different radixes need to be used in a calculation, they should be explicitly converted to matching radixes before attempting the calculation. Otherwise this exception should be thrown.

Since:
1.5
Version:
1.5
Author:
Mikko Tommila
See Also: