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

compare_total(x, y) Compares two operands using their abstract representation.

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

random.betavariate(alpha, beta) Beta distribution. Conditions on the parameters are alpha > 0 and beta

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

same_quantum(other, context=None) Test whether self and other have the same exponent or whether both are NaN.

2025-01-10 15:47:30
fractions.Fraction.from_decimal()
  • References/Python/Python/Numeric & Mathematical

from_decimal(dec) This class method constructs a Fraction representing the exact value of dec, which must

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

class decimal.Decimal(value="0", context=None) Construct a new Decimal object based from value.

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

subtract(x, y) Return the difference between x and y.

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

random.getstate() Return an object capturing the current internal state of the generator. This object can be passed to setstate()

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

class numbers.Integral Subtypes Rational and adds a conversion to

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

math.gcd(a, b) Return the greatest common divisor of the integers a and b. If either a or b

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

to_integral_exact(x) Rounds to an integer.

2025-01-10 15:47:30