I also upper_pow_two(0) = 1 instead of upper_pow_two(0) = 2 as that should be as far as I understand the mathematically correct next upper power. Let me know if that is fine, if not I will change it back.
Setting it to 1 is definitely correct. I'm not really sure why it was set to 2. Maybe it was an early workaround, or maybe it was just an error, who knows. :)
The fix for #146.
I also
upper_pow_two(0) = 1
instead ofupper_pow_two(0) = 2
as that should be as far as I understand the mathematically correct next upper power. Let me know if that is fine, if not I will change it back.