math.nan A floating-point “not a number” (NaN) value. Equivalent to the output of float('nan').
copy_sign(other, context=None) Return a copy of the first operand with the sign set to be the same as the sign of the second
sqrt(x) Square root of a non-negative number to context precision.
to_eng_string(x) Convert to a string, using engineering notation if an exponent is needed. Engineering
random.lognormvariate(mu, sigma) Log normal distribution. If you take the natural logarithm of this distribution, you’ll get
cmath.isnan(x) Return True if either the real or the imaginary part of x is a NaN, and False
numerator Abstract.
cmath.phase(x) Return the phase of x (also known as the argument of x), as a float. phase(x)
to_integral_exact(rounding=None, context=None) Round to the nearest integer, signaling Inexact or Rounded
cmath.pi The mathematical constant π, as a float.
Page 7 of 27