go/src/math
Eng Zer Jun cc874072f3 math/big: use built-in max function
Change-Id: I65721039dab311762e55c6a60dd75b82f6b4622f
Reviewed-on: https://go-review.googlesource.com/c/go/+/642335
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2025-02-03 08:25:31 -08:00
..
big math/big: use built-in max function 2025-02-03 08:25:31 -08:00
bits math/bits: update reference to debruijn paper 2024-12-04 22:15:36 +00:00
cmplx math: add available godoc link 2023-10-19 11:59:09 +00:00
rand math/rand/v2: replace <= 0 with == 0 for Uint function docs 2024-12-04 16:34:07 +00:00
abs.go
acos_s390x.s
acosh.go
acosh_s390x.s
all_test.go math: add large exact float rounding tests 2024-09-04 13:36:10 +00:00
arith_s390x.go
arith_s390x_test.go
asin.go
asin_s390x.s
asinh.go all: fix mismatched symbols 2023-06-13 20:02:49 +00:00
asinh_s390x.s
atan.go
atan2.go
atan2_s390x.s
atan_s390x.s
atanh.go
atanh_s390x.s all: replace leading spaces with tabs in assembly 2023-03-23 20:52:57 +00:00
bits.go
cbrt.go
cbrt_s390x.s
const.go math: show value of integer constants in comments 2022-09-21 14:07:39 +00:00
const_test.go
copysign.go
cosh_s390x.s
dim.go math: document that Min/Max differ from min/max 2023-06-15 19:45:12 +00:00
dim_amd64.s
dim_arm64.s
dim_asm.go cmd/compile, math: improve implementation of math.{Max,Min} on loong64 2024-08-07 01:16:28 +00:00
dim_loong64.s cmd/compile, math: improve implementation of math.{Max,Min} on loong64 2024-08-07 01:16:28 +00:00
dim_noasm.go cmd/compile, math: improve implementation of math.{Max,Min} on loong64 2024-08-07 01:16:28 +00:00
dim_riscv64.s
dim_s390x.s
erf.go
erf_s390x.s
erfc_s390x.s
erfinv.go math: add available godoc link 2023-10-19 11:59:09 +00:00
example_test.go
exp.go math: add available godoc link 2023-10-19 11:59:09 +00:00
exp2_asm.go
exp2_noasm.go
exp_amd64.go
exp_amd64.s
exp_arm64.s
exp_asm.go
exp_noasm.go
exp_s390x.s
expm1.go math: add available godoc link 2023-10-19 11:59:09 +00:00
expm1_s390x.s
export_s390x_test.go
export_test.go
floor.go
floor_386.s
floor_amd64.s
floor_arm64.s
floor_asm.go math: implement arch{Floor, Ceil, Trunc} in hardware on loong64 2024-10-12 03:24:22 +00:00
floor_loong64.s math: implement arch{Floor, Ceil, Trunc} in hardware on loong64 2024-10-12 03:24:22 +00:00
floor_noasm.go math: implement arch{Floor, Ceil, Trunc} in hardware on loong64 2024-10-12 03:24:22 +00:00
floor_ppc64x.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
floor_riscv64.s math: add round assembly implementations on riscv64 2024-09-11 02:28:10 +00:00
floor_s390x.s
floor_wasm.s
fma.go math: fix portable FMA when x*y < 0 and x*y == -z 2023-07-05 22:05:30 +00:00
frexp.go
gamma.go
huge_test.go math: enable huge argument tests on s390x 2023-07-31 16:23:41 +00:00
hypot.go math: add available godoc link 2023-10-19 11:59:09 +00:00
hypot_386.s
hypot_amd64.s
hypot_asm.go
hypot_noasm.go
j0.go
j1.go
jn.go
ldexp.go math: add available godoc link 2023-10-19 11:59:09 +00:00
lgamma.go math: add available godoc link 2023-10-19 11:59:09 +00:00
log.go
log1p.go math: add available godoc link 2023-10-19 11:59:09 +00:00
log1p_s390x.s
log10.go math: add available godoc link 2023-10-19 11:59:09 +00:00
log10_s390x.s
log_amd64.s all: replace leading spaces with tabs in assembly 2023-03-23 20:52:57 +00:00
log_asm.go
log_s390x.s
log_stub.go
logb.go math: fix function name in comment 2022-11-07 19:46:45 +00:00
mod.go
modf.go
modf_arm64.s
modf_asm.go
modf_noasm.go
modf_ppc64x.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
nextafter.go
pow.go math: handle int64 overflows for odd integer exponents in Pow(-0, y) 2023-01-24 19:10:58 +00:00
pow10.go
pow_s390x.s all: fix spelling errors 2023-06-14 00:03:57 +00:00
remainder.go
signbit.go
sin.go
sin_s390x.s math: huge argument handling for sin/cos in s390x 2023-07-31 04:25:54 +00:00
sincos.go
sinh.go
sinh_s390x.s
sqrt.go
stubs.go
stubs_s390x.s
tan.go
tan_s390x.s math: support to handle huge arguments in tan function on s390x 2023-07-27 23:30:00 +00:00
tanh.go
tanh_s390x.s
trig_reduce.go
unsafe.go all: document legacy //go:linkname for final round of modules 2024-05-29 17:58:53 +00:00