exp (Function)

Signature: exp(x: t0) -> t0

Description: e raised to a float. Total: a large argument yields infinity, never an Arith operation. Pure, so softmax kernels name it directly.

Parameters

  • x (t0): The exponent

Returns: t0

Example

print(exp(1.0))  // 2.718281828459045
print (exp 1.0)  // 2.718281828459045