]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove work-arounds for handling underscores in numbers
authorRobert Griesemer <gri@golang.org>
Sat, 9 Mar 2019 01:30:55 +0000 (17:30 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 12 Mar 2019 22:59:06 +0000 (22:59 +0000)
commitfbc5acbd704ff2640d0aed19f116b862f858a549
treea3e92f7aed369c5f32f2555444801cba1740b3ea
parentcfa93ba51fb62252633c62ddc9351d56c18ce018
cmd/compile: remove work-arounds for handling underscores in numbers

With math/big supporting underscores directly, there is no need to
manually remove them before calling the math/big conversion routines.

Updates #28493.

Change-Id: I6f865c8f87c3469ffd6c33f960ed540135055226
Reviewed-on: https://go-review.googlesource.com/c/go/+/166417
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/mpfloat.go
src/cmd/compile/internal/gc/mpint.go