]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] math/big: Remove unnecessary test from nat.go multiplication
authorDavid G. Andersen <dave.andersen@gmail.com>
Fri, 21 Sep 2012 19:53:57 +0000 (05:53 +1000)
committerRobert Griesemer <gri@golang.org>
Fri, 21 Sep 2012 19:53:57 +0000 (05:53 +1000)
commit4b3a35b97969934bc6e6a9ecfedd01a2662ab08c
tree91b836386f16bc847686fd2eac65d22573d17da8
parent759c410691c8d05800e7dd79c8d2bf735fb0b201
[release-branch.go1] math/big: Remove unnecessary test from nat.go multiplication

««« backport c533f48701cb
math/big: Remove unnecessary test from nat.go multiplication
The switch at the beginning of the function already ensures n > 1,
so testing for n < 2 is redundant.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/6350051

»»»
src/pkg/math/big/nat.go