go/src/math
Srinivas Pokala 489d3dafb7 math: switch s390x math.Pow to generic implementation
The s390x assembly implementation of math.Pow incorrectly handles
certain subnormal cases. This change switches the function to use the
generic implementation instead.

Updates #76247

Cq-Include-Trybots: luci.golang.try:gotip-linux-s390x
Change-Id: I794339080d5a7acf79bbffaeb0214809006fd30c
Reviewed-on: https://go-review.googlesource.com/c/go/+/720540
Reviewed-by: Vishwanatha HD <vishwanatha.hd@ibm.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Kiran M Vijay IBM <kiran.m.vijay@ibm.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
2025-11-19 13:32:20 -08:00
..
big std,cmd: go fix -any std cmd 2025-11-11 19:59:40 -08:00
bits internal/runtime/sys,math/bits: eliminate bounds checks on len8tab 2025-11-10 09:48:20 -08:00
cmplx math: add available godoc link 2023-10-19 11:59:09 +00:00
rand all: remove unnecessary loop variable copies in tests 2025-10-17 13:10:27 -07:00
abs.go
acos_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
acosh.go
acosh_s390x.s
all_test.go math: fix portable FMA implementation when x*y ~ 0, x*y < 0 and z = 0 2025-05-19 14:45:48 -07:00
arith_s390x.go math: switch s390x math.Pow to generic implementation 2025-11-19 13:32:20 -08:00
arith_s390x_test.go
asin.go
asin_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
asinh.go all: fix mismatched symbols 2023-06-13 20:02:49 +00:00
asinh_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
atan.go
atan2.go
atan2_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
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 math: implement IsInf using Abs 2025-08-25 12:43:51 -07:00
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 cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
erfinv.go math: add available godoc link 2023-10-19 11:59:09 +00:00
example_test.go
exp.go math: remove redundant infinity tests 2025-08-08 12:47:59 -07:00
exp2_asm.go math: implement func archExp and archExp2 in assembly on loong64 2025-03-05 18:30:54 -08:00
exp2_noasm.go math: implement func archExp and archExp2 in assembly on loong64 2025-03-05 18:30:54 -08:00
exp_amd64.go
exp_amd64.s
exp_arm64.s
exp_asm.go math: implement func archExp and archExp2 in assembly on loong64 2025-03-05 18:30:54 -08:00
exp_loong64.s math: implement func archExp and archExp2 in assembly on loong64 2025-03-05 18:30:54 -08:00
exp_noasm.go math: implement func archExp and archExp2 in assembly on loong64 2025-03-05 18:30:54 -08:00
exp_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
expm1.go math: add available godoc link 2023-10-19 11:59:09 +00:00
expm1_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
export_s390x_test.go
export_test.go
floor.go math: use Trunc to implement Modf 2025-08-25 12:46:11 -07:00
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 implementation when x*y ~ 0, x*y < 0 and z = 0 2025-05-19 14:45:48 -07: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 cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
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 cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
log_stub.go
logb.go math: fix function name in comment 2022-11-07 19:46:45 +00:00
mod.go
modf.go math: rename Modf parameter int to integer 2025-09-03 06:50:43 -07: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 cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07:00
remainder.go
signbit.go math: optimize Signbit implementation slightly 2025-08-25 12:35:20 -07:00
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 cmd/compile,math: remove all sqrt assembly code 2022-08-15 17:07:57 +00:00
stubs.go
stubs_s390x.s
tan.go
tan_s390x.s cmd/asm: add LCDBR instruction on s390x 2025-03-24 07:05:55 -07: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