09-21-2017, 01:04 AM

(09-12-2017, 11:22 PM)lusth Wrote: Halve is supposed to be iterative. Is yours iterative?

It is, it starts at one and doubles up to the closest exponent of 2 below the number takes half of that, then adds it to a recursion that starts over calculating the halve of whatever remains.

I'm sorry if that is sharing a solution, but to my understanding, it is exactly how you described doing it in this thread. Is that not a proper method to execute it?