fractions.Fraction.from_float()
  • References/Python/Python/Numeric & Mathematical

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

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

to_integral(rounding=None, context=None) Identical to the to_integral_value() method. The to_integral

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

logical_invert(x) Invert all the digits in x.

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

multiply(x, y) Return the product of x and y.

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

create_decimal(num) Creates a new Decimal instance from num but using self as context. Unlike the Decimal

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

rotate(other, context=None) Return the result of rotating the digits of the first operand by an amount specified by the second

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
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
random.triangular()
  • References/Python/Python/Numeric & Mathematical

random.triangular(low, high, mode) Return a random floating point number N such that low <= N <= high

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

is_zero() Return

2025-01-10 15:47:30