1
0
mirror of https://github.com/golang/go synced 2024-11-06 13:36:12 -07:00
go/src/math
Ryan Leung dd8d425fed all: fix some lint issues
Make some code more simple.

Change-Id: I801adf0dba5f6c515681345c732dbb907f945419
GitHub-Last-Rev: a505146bac
GitHub-Pull-Request: golang/go#49626
Reviewed-on: https://go-review.googlesource.com/c/go/+/364634
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2022-05-08 17:27:54 +00:00
..
big math/big: don't force second arg to Jacobi and Int.ModSqrt to escape 2022-05-08 17:15:30 +00:00
bits all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
cmplx all: gofmt main repo 2022-04-11 16:34:30 +00:00
rand all: gofmt main repo 2022-04-11 16:34:30 +00:00
abs.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
acos_s390x.s
acosh_s390x.s
acosh.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
all_test.go math: don't use integer division that truncates to zero 2022-03-05 21:19:15 +00:00
arith_s390x_test.go
arith_s390x.go
asin_s390x.s
asin.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
asinh_s390x.s
asinh.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
atan2_s390x.s
atan2.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
atan_s390x.s
atan.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
atanh_s390x.s
atanh.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
bits.go all: replace `` and '' with “ (U+201C) and ” (U+201D) in doc comments 2022-04-05 17:52:29 +00:00
cbrt_s390x.s
cbrt.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
const_test.go
const.go
copysign.go math: improve documentation of Copysign 2022-04-14 17:42:53 +00:00
cosh_s390x.s
dim_amd64.s
dim_arm64.s
dim_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
dim_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
dim_riscv64.s
dim_s390x.s
dim.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
erf_s390x.s
erf.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
erfc_s390x.s
erfinv.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
example_test.go
exp2_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
exp2_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
exp_amd64.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
exp_amd64.s
exp_arm64.s
exp_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
exp_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
exp_s390x.s
exp.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
expm1_s390x.s
expm1.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
export_s390x_test.go
export_test.go
floor_386.s
floor_amd64.s
floor_arm64.s
floor_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
floor_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
floor_ppc64x.s
floor_s390x.s
floor_wasm.s
floor.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
fma.go
frexp.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
gamma.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
huge_test.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
hypot_386.s
hypot_amd64.s
hypot_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
hypot_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
hypot.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
j0.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
j1.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
jn.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
ldexp.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
lgamma.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
log1p_s390x.s
log1p.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
log10_s390x.s
log10.go
log_amd64.s
log_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
log_s390x.s
log_stub.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
log.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
logb.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
mod.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
modf_arm64.s
modf_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
modf_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
modf_ppc64x.s
modf.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
nextafter.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
pow10.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
pow_s390x.s
pow.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
remainder.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
signbit.go
sin_s390x.s
sin.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
sincos.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
sinh_s390x.s
sinh.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
sqrt_386.s
sqrt_amd64.s
sqrt_arm64.s
sqrt_arm.s
sqrt_asm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
sqrt_mipsx.s
sqrt_noasm.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
sqrt_ppc64x.s
sqrt_riscv64.s
sqrt_s390x.s
sqrt_wasm.s
sqrt.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
stubs_s390x.s
stubs.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
tan_s390x.s
tan.go all: fix some lint issues 2022-05-08 17:27:54 +00:00
tanh_s390x.s
tanh.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
trig_reduce.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
unsafe.go