Add function of e, log10, log2 and replace value on calculation from double to BigDecimal.