Defs.zb: def of lawful-words@0.1.0.0 Import: import lawful-words@0.1.0.0/defs.bend as Defs Lines 56-59 of lawful-words@0.1.0.0/defs.bend: https://jend.leeeet.dev/read.txt?path=lawful-words@0.1.0.0/defs.bend&start_line=56&end_line=59 import Base # The zero-byte flags: (v - 0x01010101) & ~v & 0x80808080. It is zero exactly # when no byte of v is zero (law zb_zero); individual flags are not exact. def zb(+v: U32) -> U32: U32.and(U32.and(U32.sub(v, 16843009), U32.not(v)), 2155905152) 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.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub