I forgot to add support for numeric promotion from BigInteger/BigDecimal
to double.