ln

calculate the natural logarithm of given value


Parameters

ln value :integer :floating :complex :rational

Returns

  • :floating
  • :complex

Examples

copy
print ln 1.0 ; 0.0 print ln 0 ; -inf print ln neg 7.0 ; nan

copy
ln to :complex @[pi 1] ; => 1.19298515341341+0.308169071115985i

Related