forbid infinity and NaN in ExtendedDecimalToDecimal