go/src/math
Russ Cox f229e7031a all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)
When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we can remove
the +build tags in these files.

Ran go fix -fix=buildtag std cmd and then reverted the bootstrapDirs
as defined in src/cmd/dist/buildtool.go, which need to continue
to build with Go 1.4 for now.

Also reverted src/vendor and src/cmd/vendor, which will need
to be updated in their own repos first.

Manual changes in runtime/pprof/mprof_test.go to adjust line numbers.

For #41184.

Change-Id: Ic0f93f7091295b6abc76ed5cd6e6746e1280861e
Reviewed-on: https://go-review.googlesource.com/c/go/+/344955
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-10-28 18:17:57 +00:00
..
big math/big: remove stray whitespace in addMulVVW on amd64 2021-10-20 07:49:28 +00:00
bits bits: use same expression with system bit size 2021-04-27 16:25:40 +00:00
cmplx all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
rand all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
abs.go
acos_s390x.s
acosh.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
acosh_s390x.s
all_test.go math: increase precision of math.SmallestNonzeroFloat64 2021-04-30 00:13:38 +00:00
arith_s390x.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
arith_s390x_test.go
asin.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
asin_s390x.s
asinh.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
asinh_s390x.s
atan.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
atan2.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
atan2_s390x.s
atan_s390x.s
atanh.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
atanh_s390x.s
bits.go
cbrt.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
cbrt_s390x.s
const.go math: add MaxUint, MinInt, MaxInt 2021-05-03 22:44:33 +00:00
const_test.go math: add MaxUint, MinInt, MaxInt 2021-05-03 22:44:33 +00:00
copysign.go
cosh_s390x.s
dim.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
dim_amd64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
dim_arm64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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 math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
dim_s390x.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
erf.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
erf_s390x.s
erfc_s390x.s
erfinv.go
example_test.go math: add Remainder example 2021-10-07 18:09:53 +00:00
exp.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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 math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
exp_arm64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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
expm1.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
expm1_s390x.s
export_s390x_test.go
export_test.go
floor.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
floor_386.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
floor_amd64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
floor_arm64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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 all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
floor_s390x.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
floor_wasm.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
fma.go math: simplify comparison in FMA when swapping p and z 2021-03-29 06:45:05 +00:00
frexp.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
gamma.go
huge_test.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
hypot.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
hypot_386.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
hypot_amd64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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
j0.go
j1.go
jn.go
ldexp.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
lgamma.go
log.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
log1p.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
log1p_s390x.s
log10.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
log10_s390x.s
log_amd64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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
logb.go
mod.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
modf.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
modf_arm64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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 all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
nextafter.go
pow.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
pow10.go
pow_s390x.s
remainder.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
signbit.go
sin.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sin_s390x.s
sincos.go
sinh.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sinh_s390x.s all: fix typos 2021-08-17 13:54:10 +00:00
sqrt.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sqrt_386.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sqrt_amd64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sqrt_arm.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sqrt_arm64.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
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 all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
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 all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
sqrt_riscv64.s all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
sqrt_s390x.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
sqrt_wasm.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
stubs.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
stubs_s390x.s math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
tan.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
tan_s390x.s all: fix typos 2021-08-17 13:54:10 +00:00
tanh.go math: avoid assembly stubs 2021-04-15 15:48:19 +00:00
tanh_s390x.s
trig_reduce.go
unsafe.go