urt-rs / docs /research /RUST_QVM_FORMAT.md
nmarshall's picture
gameplay: port float formatter arithmetic
ff6283b
|
Raw History Blame Contribute Delete
919 Bytes

Rust recovered formatter subset with original byte quirks

RE-817. Reproduce with python3 scripts/analyze_rust_qvm_format.py; focused validation: cargo xtask test-group rust-qvm-format. Machine report.

A typed byte-oriented formatter reproduces55 original-QVM fixtures exactly. Unit tests cover negative zero padding, string trailing padding, ignored null precision, unknown conversion low bytes and embedded character NUL. Unsafe narrow-left padding, malformed arguments, float formatting and output/width limits reject explicitly. This stage leaves scoreboard packet integration to the next task.

Original executable/native runtime and complete Linux/macOS Rust/Bevy/Solari acceptance remain unverified.

RE-825 extends the current API with the verified float subset; the earlier float exclusion is superseded within the finite precision/CVFI domain. Evidence.