go/src/math/big
isharipo 02952ad7a8 math/big: remove "else" from if with block that ends with return
That "else" was needed due to gc DCE limitations.
Now it's not the case and we can avoid go lint complaints.
(See #23521 and https://golang.org/cl/91056.)

There is inlining test for bigEndianWord, so if test
is passing, no performance regression should occur.

Change-Id: Id84d63f361e5e51a52293904ff042966c83c16e9
Reviewed-on: https://go-review.googlesource.com/104555
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-03 19:55:04 +00:00
..
accuracy_string.go
arith.go math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_386.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_amd64.go math/big: speed-up addMulVVW on amd64 2018-02-24 00:13:03 +00:00
arith_amd64.s math/big: speed-up addMulVVW on amd64 2018-02-24 00:13:03 +00:00
arith_amd64p32.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_arm.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_arm64.s math/big: optimize shlVU and shrVU on arm64 2018-03-12 14:42:11 +00:00
arith_decl.go math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_decl_pure.go math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_decl_s390x.go
arith_mips64x.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_mipsx.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_ppc64x.s math/big: improve performance of addVW/subVW for ppc64x 2018-03-27 15:06:53 +00:00
arith_s390x.s math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
arith_s390x_test.go
arith_test.go math/big: optimize addVW and subVW on arm64 2018-03-08 15:31:37 +00:00
bits_test.go
calibrate_test.go all: fix easy-to-miss typos 2017-08-23 03:07:12 +00:00
decimal.go math/big: fix internal comment 2017-08-31 13:05:11 +00:00
decimal_test.go
doc.go
example_rat_test.go
example_test.go
float.go math/big: recognize squaring for Floats 2017-08-18 12:48:10 +00:00
float_test.go math/big: fix %s verbs in Float tests error messages 2018-02-14 09:50:19 +00:00
floatconv.go
floatconv_test.go math/big: replace local versions of bitLen, nlz with math/bits versions 2017-03-23 19:43:09 +00:00
floatexample_test.go
floatmarsh.go
floatmarsh_test.go
ftoa.go
gcd_test.go
hilbert_test.go
int.go all: fix misspellings 2018-02-20 21:02:58 +00:00
int_test.go math/big: protect against aliasing in nat.divLarge 2017-11-30 20:36:54 +00:00
intconv.go math/big: provide support for conversion bases up to 62 2017-10-06 17:46:15 +00:00
intconv_test.go math/big: provide support for conversion bases up to 62 2017-10-06 17:46:15 +00:00
intmarsh.go math/big: remove []byte/string conversions 2017-10-04 17:16:52 +00:00
intmarsh_test.go
nat.go math/big: remove "else" from if with block that ends with return 2018-04-03 19:55:04 +00:00
nat_test.go math/big: add 0 shift fastpath to shl and shr 2018-03-19 18:01:37 +00:00
natconv.go math/big: provide support for conversion bases up to 62 2017-10-06 17:46:15 +00:00
natconv_test.go math/big: provide support for conversion bases up to 62 2017-10-06 17:46:15 +00:00
prime.go math/big: use internal sqr on nats 2017-08-22 08:04:44 +00:00
prime_test.go
rat.go math/big: implement Lehmer's GCD algorithm 2017-10-24 22:42:43 +00:00
rat_test.go
ratconv.go all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
ratconv_test.go
ratmarsh.go math/big: remove []byte/string conversions 2017-10-04 17:16:52 +00:00
ratmarsh_test.go
roundingmode_string.go
sqrt.go math/big: allocate less in Float.Sqrt 2018-03-08 19:12:35 +00:00
sqrt_test.go math/big: add (*Float).Sqrt 2017-10-26 17:29:27 +00:00