Function nextPow

  • Find smallest power-of-n greater than or equal to given number.

    Parameters

    • x: number

      a number

    • n: number

      base

    Returns number

    nⁱ | nⁱ ≥ x and nⁱ < n*x

Generated using TypeDoc