3.8 Power and Logarithm Functions

R sqrt(T x)
square root of x

R cbrt(T x)
cube root of x

R square(T x)
square of x

R exp(T x)
natural exponential of x

R exp2(T x)
base-2 exponential of x

R log(T x)
natural logarithm of x

R log2(T x)
base-2 logarithm of x

R log10(T x)
base-10 logarithm of x

real pow(real x, real y)
Return x raised to the power of y. \[ \text{pow}(x,y) = x^y \]

R inv(T x)
inverse of x

R inv_sqrt(T x)
inverse of the square root of x

R inv_square(T x)
inverse of the square of x