urt-rs / docs /research /RUST_NUMERIC_SCAN.md
nmarshall's picture
gameplay: port persistence numeric scanning
4a7e291
|
Raw History Blame Contribute Delete
695 Bytes

Rust original comma numeric scanner

RE-897. Reproduce with python3 scripts/analyze_rust_numeric_scan.py; focused validation: cargo xtask test-group rust-numeric-scan. Machine report.

Rust matches72 actual38326/38355/37159/36779 cases, preserving digits-only integer entry, wrapping overflow, staged f32 decimal arithmetic, partial destination writes and literal-mismatch return-1. Caller supplies untouched destination words. Uppercase exponent, non-ASCII input and other scanf conversions reject; native ABI and complete scanner semantics remain open.

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