Go: Double-Rounding Fixes and Printer Safety
Four related fixes eliminate double-rounding errors in float scans and integer-to-float conversions, while two printer changes stop gofmt from emitting invalid control clauses. Smaller compiler, router, and runtime hardening rounds out the day.
Duration: PT2M32S
Episode overview
This episode is a short developer briefing from Go.
It explains recent repository work in plain language.
- Show: Go
- Published: 2026-11-18T14:08:33Z
- Audio duration: PT2M32S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, it's November 18th, 2026, with your Go briefing.
The big pattern today is rounding done twice, with four related fixes showing how a second rounding step can move a result by one unit.
In scanning and conversion, contributor mhaddon traced the same class of bug across packages. Pull requests 83-175 and 83-172 fix binary-exponent floats scanned into 64- and 32-bit values, where parsing the mantissa then scaling it rounded denormals twice. Pull request 83-161 fixes reflection converting 64-bit…
A second theme is the printer learning what the parser already accepts. Pull requests 83-155 and 83-167, linked to issue 43-598, track control clauses in if, for and switch headers and parenthesize composite literals there. Without that, gofmt could strip needed parentheses or emit code that no longer parses,…
Finally, a round of correctness hardening. Pull request 83-153 fixes wrong slice panic indexes on Arm 64 and three other architectures when a constant moves to a register. Pull request 83-159 keeps single-segment wildcards in the H T T P router from matching escaped slashes. Pull request 83-152 stops the printable…
What's next: expect tighter numeric tests, and if you work…
Nearby episodes from Go
- Bindings Without C Compiler, HTTP Proxy Fix
- SIMD Simplification and Stdlib Hardening
- Deadlock Fixes, Float Rounding, and SIMD Gains
- Runtime Goes Native, Vector Fixes, Template Security Patch
- Vectors Become Comparable, Text Paths Get Faster
- Weekly Recap - Leaner Compiler, Reliable Wasm and HTTP Simplification
- Wasm Reliability and Runtime Cleanup
- HTTP Pool Unification and Compiler Efficiency