Zero is not a power of two. Fix #1047
Zero is not a power of two. Fix #1047

Also, fixed some docstrings and added {.noSideEffect.} pragma to nextPowerOfTwo().

greyanubis/Nim,greyanubis/Nim,russpowers/Nim,jsanjuas/Nim,nanoant/Nim,endragor/Nim,BlaXpirit/nim,dom96/Nim,nanoant/Nim,SSPkrolik/Nim,jsanjuas/Nim,zachaysan/Nim,Dhertz/Nim,tulayang/Nim,msmith491/Nim,bvssvni/Nim,greyanubis/Nim,tmm1/Nim,sarvex/Nim-lang,endragor/Nim,russpowers/Nim,jsanjuas/Nim,jsanjuas/Nim,singularperturbation/Nim,kirbyfan64/Nim,russpowers/Nim,xland/Nim,reactormonk/nim,xland/Nim,gokr/Nim,xland/Nim,judofyr/Nim,SSPkrolik/Nim,fredericksilva/Nim,JCavallo/Nim,Senketsu/Nim,gokr/Nim,singularperturbation/Nim,gokr/Nim,msmith491/Nim,judofyr/Nim,nafsaka/Nim,dom96/Nim,Matt14916/Nim,Dhertz/Nim,Senketsu/Nim,nimLuckyBull/Nim,Dhertz/Nim,sarvex/Nim-lang,greyanubis/Nim,tmm1/Nim,judofyr/Nim,sferik/Nim,Dhertz/Nim,xland/Nim,endragor/Nim,SSPkrolik/Nim,haiodo/Nim,jfhg/Nim,dom96/Nim,Senketsu/Nim,Dhertz/Nim,JCavallo/Nim,sarvex/Nim-lang,haiodo/Nim,nimLuckyBull/Nim,sarvex/Nim-lang,gokr/Nim,jsanjuas/Nim,bvssvni/Nim,haiodo/Nim,Senketsu/Nim,greyanubis/Nim,MrJohz/Nim,judofyr/Nim,fredericksilva/Nim,tulayang/Nim,singularperturbation/Nim,bvssvni/Nim,fmamud/Nim,nimLuckyBull/Nim,haiodo/Nim,singularperturbation/Nim,gokr/Nim,endragor/Nim,dom96/Nim,BlaXpirit/nim,BlaXpirit/nim,singularperturbation/Nim,mbaulch/Nim,fmamud/Nim,Dhertz/Nim,greyanubis/Nim,haiodo/Nim,BlaXpirit/nim,BlaXpirit/nim,fmamud/Nim,douglas-larocca/Nim,zachaysan/Nim,nanoant/Nim,fredericksilva/Nim,nanoant/Nim,bvssvni/Nim,sferik/Nim,nafsaka/Nim,zachaysan/Nim,douglas-larocca/Nim,JCavallo/Nim,xland/Nim,JCavallo/Nim,reactormonk/nim,Matt14916/Nim,kirbyfan64/Nim,jfhg/Nim,gokr/Nim,xland/Nim,nimLuckyBull/Nim,Salafit/Nim,mbaulch/Nim,JCavallo/Nim,sarvex/Nim-lang,Salafit/Nim,fredericksilva/Nim,jfhg/Nim,reactormonk/nim,nimLuckyBull/Nim,reactormonk/nim,sferik/Nim,msmith491/Nim,russpowers/Nim,tulayang/Nim,MrJohz/Nim,jfhg/Nim,sferik/Nim,jsanjuas/Nim,mbaulch/Nim,nafsaka/Nim,Matt14916/Nim,fredericksilva/Nim,douglas-larocca/Nim,Senketsu/Nim,endragor/Nim,jfhg/Nim,tmm1/Nim,Salafit/Nim,sarvex/Nim-lang,mbaulch/Nim,MrJohz/Nim,douglas-larocca/Nim,reactormonk/nim,kirbyfan64/Nim,bvssvni/Nim,nafsaka/Nim,tmm1/Nim,SSPkrolik/Nim,douglas-larocca/Nim,jfhg/Nim,singularperturbation/Nim,haiodo/Nim,BlaXpirit/nim,sferik/Nim,JCavallo/Nim,douglas-larocca/Nim,kirbyfan64/Nim,kirbyfan64/Nim,russpowers/Nim,msmith491/Nim,Salafit/Nim,MrJohz/Nim,nafsaka/Nim,Dhertz/Nim,zachaysan/Nim,msmith491/Nim,tmm1/Nim,nimLuckyBull/Nim,fmamud/Nim,mbaulch/Nim,sferik/Nim,fredericksilva/Nim,nafsaka/Nim,kirbyfan64/Nim,nanoant/Nim,Matt14916/Nim,tulayang/Nim,Salafit/Nim,msmith491/Nim,tulayang/Nim,fredericksilva/Nim,russpowers/Nim,BlaXpirit/nim,JCavallo/Nim,jfhg/Nim,fredericksilva/Nim,reactormonk/nim,judofyr/Nim,zachaysan/Nim,dom96/Nim,gokr/Nim,xland/Nim,nimLuckyBull/Nim,kirbyfan64/Nim,Salafit/Nim,SSPkrolik/Nim,Salafit/Nim,BlaXpirit/nim,MrJohz/Nim,Matt14916/Nim,tulayang/Nim,endragor/Nim,douglas-larocca/Nim,tmm1/Nim,fmamud/Nim,jsanjuas/Nim,sferik/Nim,fmamud/Nim,dom96/Nim,greyanubis/Nim,nanoant/Nim,Matt14916/Nim,Senketsu/Nim,singularperturbation/Nim,haiodo/Nim,SSPkrolik/Nim,fmamud/Nim,endragor/Nim,judofyr/Nim,SSPkrolik/Nim,douglas-larocca/Nim,judofyr/Nim,nanoant/Nim,bvssvni/Nim,nafsaka/Nim,SSPkrolik/Nim,Senketsu/Nim,gokr/Nim,zachaysan/Nim,zachaysan/Nim,dom96/Nim,russpowers/Nim,sarvex/Nim-lang,msmith491/Nim,MrJohz/Nim,judofyr/Nim,mbaulch/Nim,tmm1/Nim,Matt14916/Nim,sferik/Nim,mbaulch/Nim,bvssvni/Nim,reactormonk/nim,kirbyfan64/Nim,reactormonk/nim,MrJohz/Nim