def Half.words

bendtorch@1.3.0.0 · dtype.bend:230

import bendtorch@1.3.0.0/dtype.bend as Dtype
import Base
import bendtorch@1.3.0.0/main.bend as T

230# the values of a 16-bit list packed two per word
231def Half.words(+n: Nat, hs: List<&2, U32>) -> Array<U32>:
232  fill_u(join_l(pairs(hs)), 0, Array.new(U32, T.depth(hwords(n)), 0))

Uses (10)

Used by (1)