From 2ee4549f599ed214693abf75163176f178b4188c Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 12 Aug 2009 13:19:17 -0700 Subject: convert non-low-level non-google pkg code to whole-package compilation. R=r OCL=33070 CL=33101 --- src/pkg/bignum/integer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pkg/bignum/integer.go') diff --git a/src/pkg/bignum/integer.go b/src/pkg/bignum/integer.go index 30e13092f..35a95bb3c 100644 --- a/src/pkg/bignum/integer.go +++ b/src/pkg/bignum/integer.go @@ -10,7 +10,6 @@ package bignum import ( - "bignum"; "fmt"; ) @@ -352,7 +351,7 @@ func (x *Integer) Shr(s uint) *Integer { // (-x) >> s == ^(x-1) >> s == ^((x-1) >> s) == -(((x-1) >> s) + 1) return MakeInt(true, x.mant.Sub(Nat(1)).Shr(s).Add(Nat(1))); } - + return MakeInt(false, x.mant.Shr(s)); } -- cgit v1.2.3