diff options
Diffstat (limited to 'test/bench/pidigits.go')
-rw-r--r-- | test/bench/pidigits.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bench/pidigits.go b/test/bench/pidigits.go index a05515028..dcfb502ce 100644 --- a/test/bench/pidigits.go +++ b/test/bench/pidigits.go @@ -81,8 +81,8 @@ func extract_digit() int64 { func next_term(k int64) { // TODO(eds) If big.Int ever gets a Scale method, y2 and bigk could be int64 - y2.New(k*2 + 1) - bigk.New(k) + y2.SetInt64(k*2 + 1) + bigk.SetInt64(k) tmp1.Lsh(numer, 1) accum.Add(accum, tmp1) |