Math.exp(x) → float
Returns e**x.
/* * call-seq: * Math.exp(x) => float * * Returns e**x. */ static VALUE math_exp(obj, x) VALUE obj, x; { Need_Float(x); return rb_float_new(exp(RFLOAT(x)->value)); }
<code/>
<pre/>
<code/>and<pre/>for code samples.