Function nextPow

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

    Returns

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

    Parameters

    • x: number

      a number

    • n: number

      base

    Returns number

Generated using TypeDoc