Flowdock
method

exp

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: BigMath
exp(x, prec) public

Computes the value of e (the base of natural logarithms) raised to the power of x, to the specified number of digits of precision.

If x is infinite or NaN, returns NaN.

BigMath::exp(BigDecimal.new(‘1’), 10).to_s -> “0.271828182845904523536028752390026306410273E1”

Show source
Register or log in to add new notes.