Bendtorch.ph_half: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 331-337 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=331&end_line=337 import Base # the half of word w that element t uses (odd t: the high half), and w with that half replaced by h def ph_half(odd: Bool, +w: U32) -> U32: match odd: case True{}: U32.shrn(w, 16n) case False{}: (w .&. 65535 : U32) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.shrn