Because BigDecimal is lacking methods of exponentials, calculations are performed using StrictMath to maintain portability.
ExchangeRate
SecurityNode