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

is_infinite(x) Returns True if x is infinite; otherwise returns False.

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

class decimal.DefaultContext This context is used by the Context constructor as a prototype for new contexts. Changing

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

max_mag(other, context=None) Similar to the max() method, but the comparison is done using the absolute values

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

is_signed() Return

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

math.ldexp(x, i) Return x * (2**i). This is essentially the inverse of function frexp().

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

random.choice(seq) Return a random element from the non-empty sequence seq. If seq is empty, raises

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

math.ceil(x) Return the ceiling of x, the smallest integer greater than or equal to x. If x is not

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

compare_total(other, context=None) Compare two operands using their abstract representation rather than their numerical value

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

is_nan(x) Returns True if x is a qNaN or sNaN; otherwise returns False.

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

copy() Return a duplicate of the context.

2025-01-10 15:47:30