You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b0b342a
Browse filesBrowse the repository at this point in the historyBrowse files
- add utils/number_text with snprintf-compatible %f/%e/%g and integer/hex formatting
- take float digits from double-conversion, rounding exact binary ties to even as printf does (double-conversion alone rounds them up)
- move every engine snprintf and std::to_string(double) onto it
- route pugixml XPath number formatting through a WASM-only --wrap=snprintf in FormulonWasm.cmake, next to the existing strtod wrap
- musl's printf machinery leaves the module
- output is byte-identical: number_text_test.cpp checks parity against host snprintf over hand-picked values, random magnitudes, exact ties and random bit patterns
- oracle diff: fast tier passes unchanged
- WASM: 3,293,540 -> 3,292,036 raw, Brotli -2.1 KB (901,702)
0 commit comments