urt-rs / docs /research /QVM_NUMERIC_SCAN.md
nmarshall's picture
qvm: recover persistence numeric scanner
e543c57
|
Raw History Blame Contribute Delete
834 Bytes

Original integer and float comma scanner

RE-896. Reproduce with python3 scripts/analyze_qvm_numeric_scan.py; focused validation: cargo xtask test-group qvm-numeric-scan. Machine report.

72 actual38326/38355/37159/36779 cases recover comma-template numeric scanning with partial writes. Integer conversions accept leading digits only, including wrapping overflow; signs/leading spaces write0 without assignment. Floats use staged f32 accumulation, sign/whitespace and decimal scaling; lowercase e terminates the number. Literal mismatch returns-1 even after assignments. Empty/unparsed final fields still write0. Uppercase exponent, other scanf conversions and unsafe destinations remain open.

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