warg.math_utilities.powers.next_power

warg.math_utilities.powers.next_power(x: int | float, n: int | None = None) int

If the base(n) not specified, returns the natural logarithm (base e) of x.

Parameters:
  • x

  • n

Returns: