MathCompare.nonzero: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_compare.bend as MathCompare Lines 5-7 of stelliferous@0.0.2.0/math_compare.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_compare.bend&start_line=5&end_line=7 import Base # One for a nonzero word, zero otherwise, without a Bool match. def nonzero(+word: U32) -> U32: U32.shrn(U32.or(word,(0 - word : U32)),31n) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub