Commit Graph
3 Commits
Author SHA1 Message Date
waozi a86e6da41f Keep binary readers compatible with checked variants 2026-11-15 17:58:57 -03:00
waozi 490c107fda Update the docs for the instruction engine after removing the portable VM 2026-11-14 17:54:14 -03:00
waozi 12a15598d0 Read little-endian fields and IEEE 754 floats portably with std/binary
ReadU16LE, ReadU32LE, ReadS32LE and ReadF32LE read byte text such as file
or asset contents, and Float32FromBits and Float64FromBits decode bit
patterns with exact arithmetic, so native targets and portable bundles
agree without reinterpreting memory through libc. The test compares the
decoding with C's over a million random patterns plus subnormals, signed
zeros, infinities and NaN, from source and saved IR.
2026-10-14 19:38:49 -03:00