]> Cypherpunks repositories - gostls13.git/commit
runtime: don't assume that 0.25 * 100 is representable as int
authorIan Lance Taylor <iant@golang.org>
Mon, 7 Feb 2022 03:33:03 +0000 (19:33 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 7 Feb 2022 18:19:38 +0000 (18:19 +0000)
commit8f374aa27f887d78ef709115c140fd5862691df0
tree9269ba085816a88f3c44f24f65783c5b7a53e535
parentfa0484640479a26687608706c9f6628eac1174d2
runtime: don't assume that 0.25 * 100 is representable as int

For the gofrontend, it's not; there are some trailing one bits,
which is permitted by the spec.

Change-Id: I58f5a5347068bb488306ec8e73da7c59376f1ae1
Reviewed-on: https://go-review.googlesource.com/c/go/+/383635
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mgcpacer.go