def words_out

bendtorch@1.3.0.0 · main.bend:3361

import bendtorch@1.3.0.0/main.bend as Bendtorch
import Base

3361# words i.. of a packed buffer into xs from off, as F32 cells with their bits (both arrays come back)
3362def words_out(left: Nat, +i: U32, +off: U32, ra: Array<U32> & U32, xs: Array<F32>) -> UA:
3363  match left ra:
3364    case 0n Tuple{a, w}: UA{a, xs}
3365    case 1n+q Tuple{a, +w}:
3366      words_out(q, (i + 1 : U32), (off + 1 : U32), Array.get(U32, a, (i + 1 : U32)), Array.set(F32, xs, off, ph_u2f(w)))

Uses (11)

Used by (2)