(12C) Check if two numbers is to the power of other
|
09-08-2018, 07:28 AM
Post: #15
|
|||
|
|||
RE: (12C) Check if two numbers is to the power of other
A bit shorter and with additional stack diagrams:
Code: 001 X≤Y ; b a If you start with p = b you should set n = 1 since p = bn. Now you don't have to adjust n at the end. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)