Simplify wrap and improve ctz polyfills in portable (#2177)
Simplify wrap and improve ctz polyfills in portable (#2177)


MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript