mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-07 08:33:50 +08:00
Float16Array elements are two bytes and convert through the runtime. Versioned loops bound them in elements against the element count, as for every other element type, and their loads and stores share the element alias category, since views of any type may share a buffer. DataView half-precision accesses are two bytes wide in the guard. The corpus covers unchecked and checked f16 loops, rounding in the unchecked copy, a masked index against a short array, a DataView loop that throws at an odd final offset, and f16 stores observed through integer views of the same buffer.