zh-CN

PR #5480 Add support for interpreting f32 in float.{from-bytes, to-bytes}

Published At: 2024-11-29 Tags: pr

现在 float.from-bytes 和 float.to-bytes 支持 f32 了.

typ
1
#range(4).map(x => float.to-bytes(1.5, size: 4).at(x)) \
2
#float.from-bytes(bytes((0, 0, 192, 63)))
(0, 0, 192, 63)
1.5