]> Cypherpunks repositories - gostls13.git/commit
go/constant: use new math/big.IsInt and isUint predicates
authorRobert Griesemer <gri@golang.org>
Wed, 8 Feb 2017 18:56:30 +0000 (10:56 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 8 Feb 2017 19:13:19 +0000 (19:13 +0000)
commit92cdde016ab64416188113c72e5d6b5ade87e89f
tree833beea1a109f0bce6e4509a2f613df2d9c20616
parentee7fdc26477a0eaf5382542a7822b45966a9f844
go/constant: use new math/big.IsInt and isUint predicates

Slightly cleaner and more readable code.

Change-Id: I35263dbf338861b0a1bd62d59417b6a2c6a4e670
Reviewed-on: https://go-review.googlesource.com/36562
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/go/constant/value.go