next_minus(x) Returns the largest representable number smaller than x.
quantize(x, y) Returns a value equal to x (rounded), having the exponent of y.
math.trunc(x) Return the
imag Abstract. Retrieves the imaginary component of this number.
math.cos(x) Return the cosine of x radians.
random.getrandbits(k) Returns a Python integer with k random bits. This method is supplied with the MersenneTwister
compare(x, y) Compares x and y numerically.
logical_and(other, context=None) logical_and() is a logical operation which takes two logical operands
is_subnormal(context=None) Return
normalize(context=None) Normalize the number by stripping the rightmost trailing zeros and converting any result equal to
Page 2 of 27