Python cmath Functions

EditRocket provides the following information on cmath functions in the Python source code builder.

acos(x) - Return the arc cosine of x.

acosh(x) - Return the hyperbolic arc cosine of x.

asin(x) - Return the arc sine of x.

asinh(x) - Return the hyperbolic arc sine of x.

atan(x) - Return the arc tangent of x.

atanh(x) - Return the hyperbolic arc tangent of x.

cos(x) - Return the cosine of x.

cosh(x) - Return the hyperbolic cosine of x.

exp(x) - Return the exponential value e**x.

log(x[, base]) - Returns the logarithm of x to the given base.

log10(x) - Return the base-10 logarithm of x.

sin(x) - Return the sine of x.

sinh(x) - Return the hyperbolic sine of x.

sqrt(x) - Return the square root of x.

tan(x) - Return the tangent of x.

tanh(x) - Return the hyperbolic tangent of x.