Dtype.Half.words: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/dtype.bend as Dtype Lines 230-232 of bendtorch@1.3.0.0/dtype.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/dtype.bend&start_line=230&end_line=232 import Base import bendtorch@1.3.0.0/main.bend as T # the values of a 16-bit list packed two per word def Half.words(+n: Nat, hs: List<&2, U32>) -> Array: fill_u(join_l(pairs(hs)), 0, Array.new(U32, T.depth(hwords(n)), 0)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=fill_u https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=hwords https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=join_l https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=pairs https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=depth