[go] runtime: fix printfloat, printcomplex buffer sizes

0 views
Skip to first unread message

Michael Pratt (Gerrit)

unread,
3:43 PM (3 hours ago) 3:43 PM
to Michael Pratt, goph...@pubsubhelper.golang.org, Russ Cox, Michael Knyszek, golang-co...@googlegroups.com
Attention needed from Michael Knyszek and Russ Cox

Michael Pratt voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Knyszek
  • Russ Cox
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636cc2fc5cae9fda25f10b28fd641aa1ff28
Gerrit-Change-Number: 749947
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Russ Cox <r...@golang.org>
Gerrit-Attention: Michael Knyszek <mkny...@google.com>
Gerrit-Comment-Date: Fri, 27 Feb 2026 20:43:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Michael Pratt (Gerrit)

unread,
3:49 PM (3 hours ago) 3:49 PM
to Michael Pratt, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Michael Knyszek and Russ Cox

Michael Pratt uploaded new patchset

Michael Pratt uploaded patch set #2 to this change.
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Knyszek
  • Russ Cox
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636cc2fc5cae9fda25f10b28fd641aa1ff28
Gerrit-Change-Number: 749947
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
unsatisfied_requirement
satisfied_requirement
open
diffy

Michael Knyszek (Gerrit)

unread,
3:59 PM (3 hours ago) 3:59 PM
to Michael Pratt, goph...@pubsubhelper.golang.org, Go LUCI, Russ Cox, golang-co...@googlegroups.com
Attention needed from Michael Pratt and Russ Cox

Michael Knyszek voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Pratt
  • Russ Cox
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636cc2fc5cae9fda25f10b28fd641aa1ff28
Gerrit-Change-Number: 749947
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Russ Cox <r...@golang.org>
Gerrit-Attention: Michael Pratt <mpr...@google.com>
Gerrit-Comment-Date: Fri, 27 Feb 2026 20:59:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Russ Cox (Gerrit)

unread,
5:17 PM (1 hour ago) 5:17 PM
to Michael Pratt, goph...@pubsubhelper.golang.org, Go LUCI, Russ Cox, golang-co...@googlegroups.com
Attention needed from Michael Pratt

Russ Cox added 3 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Russ Cox . resolved

Thanks, and apologies. Flag for next minor release.

File src/runtime/print.go
Line 141, Patchset 2 (Latest):// complex128 requires 24+24+1+1+1 = 51 bytes max (float64+float64+paren+sign+i+paren).
Russ Cox . unresolved

(paren+float64+float64+i+paren)

The comment mentions sign but that's included in the float64. The math is right.

Line 149, Patchset 2 (Latest):// complex64 requires 15+15+1+1+1 = 33 bytes max (float32+float32+paren+sign+i+paren).
Russ Cox . unresolved

(paren+float32+float32+i+paren)

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Pratt
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
  • requirement satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636cc2fc5cae9fda25f10b28fd641aa1ff28
Gerrit-Change-Number: 749947
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Michael Pratt <mpr...@google.com>
Gerrit-Comment-Date: Fri, 27 Feb 2026 22:17:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Russ Cox (Gerrit)

unread,
5:17 PM (1 hour ago) 5:17 PM
to Michael Pratt, goph...@pubsubhelper.golang.org, Russ Cox, Go LUCI, golang-co...@googlegroups.com
Attention needed from Michael Pratt

Russ Cox voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Pratt
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
  • requirement satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636cc2fc5cae9fda25f10b28fd641aa1ff28
Gerrit-Change-Number: 749947
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Michael Pratt <mpr...@google.com>
Gerrit-Comment-Date: Fri, 27 Feb 2026 22:17:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages