]> Cypherpunks repositories - gostls13.git/commit
math/big: correctly test for positive inputs in Int.GCD
authorRobert Griesemer <gri@golang.org>
Wed, 13 Jun 2012 20:54:36 +0000 (13:54 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 13 Jun 2012 20:54:36 +0000 (13:54 -0700)
commit10b88888f67ecda0b3dd86b91417cf9bfb20f2ed
treea92fceb00d2114ad3698d11d9ceeb7c31159d1f8
parent1c4e20744a48ee0d7cdb74ed1cab5196345cf6a2
math/big: correctly test for positive inputs in Int.GCD

Also: better GCD tests.

R=rsc
CC=golang-dev
https://golang.org/cl/6295076
src/pkg/math/big/int.go
src/pkg/math/big/int_test.go