decimal.Context.next_minus()
  • References/Python/Python/Numeric & Mathematical

next_minus(x) Returns the largest representable number smaller than x.

2025-01-10 15:47:30
decimal.Context.quantize()
  • References/Python/Python/Numeric & Mathematical

quantize(x, y) Returns a value equal to x (rounded), having the exponent of y.

2025-01-10 15:47:30
math.trunc()
  • References/Python/Python/Numeric & Mathematical

math.trunc(x) Return the

2025-01-10 15:47:30
numbers.Complex.imag
  • References/Python/Python/Numeric & Mathematical

imag Abstract. Retrieves the imaginary component of this number.

2025-01-10 15:47:30
math.cos()
  • References/Python/Python/Numeric & Mathematical

math.cos(x) Return the cosine of x radians.

2025-01-10 15:47:30
random.getrandbits()
  • References/Python/Python/Numeric & Mathematical

random.getrandbits(k) Returns a Python integer with k random bits. This method is supplied with the MersenneTwister

2025-01-10 15:47:30
decimal.Context.compare()
  • References/Python/Python/Numeric & Mathematical

compare(x, y) Compares x and y numerically.

2025-01-10 15:47:30
decimal.Decimal.logical_and()
  • References/Python/Python/Numeric & Mathematical

logical_and(other, context=None) logical_and() is a logical operation which takes two logical operands

2025-01-10 15:47:30
decimal.Decimal.is_subnormal()
  • References/Python/Python/Numeric & Mathematical

is_subnormal(context=None) Return

2025-01-10 15:47:30
decimal.Decimal.normalize()
  • References/Python/Python/Numeric & Mathematical

normalize(context=None) Normalize the number by stripping the rightmost trailing zeros and converting any result equal to

2025-01-10 15:47:30