Vyxapedia

Element - ∆n - Next Power

Characters: , n


Description

Get the next power of b after a.


Overloads

  • num-num - b ** floor(log(a, b) + 1)

Examples

  • 10 10 ∆n = 100
  • 9 10 ∆n = 10
  • 11 10 ∆n = 100
  • 4 2 ∆n = 8
  • 17 3 ∆n = 27
  • 7 2 ∆n = 8