]> Cypherpunks repositories - gostls13.git/commit
math/big: Remove unnecessary test from nat.go multiplication
authorDavid G. Andersen <dave.andersen@gmail.com>
Mon, 2 Jul 2012 22:30:00 +0000 (15:30 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 2 Jul 2012 22:30:00 +0000 (15:30 -0700)
commit917f764382e63a9a61d0456b1d54a79bc679371b
tree2e868b812dbd9e24e03d7552b83bb44b8066e177
parent21de1ab359f198fff172f5e2bbaa29ab955a4688
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