aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorSrinivas Pokala <Pokala.Srinivas@ibm.com>2025-11-14 14:21:37 +0100
committerGopher Robot <gobot@golang.org>2025-11-19 13:32:20 -0800
commit489d3dafb791df8297f71ecf4e2c3c84ea11f6f2 (patch)
treeff05e69fd552c80d1a4ac0291fc7ab8b0d1929df /src/math
parent8c41a482f9b7a101404cd0b417ac45abd441e598 (diff)
downloadgo-489d3dafb791df8297f71ecf4e2c3c84ea11f6f2.tar.xz
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>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/arith_s390x.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/arith_s390x.go b/src/math/arith_s390x.go
index 129156a9f6..2fda82fff4 100644
--- a/src/math/arith_s390x.go
+++ b/src/math/arith_s390x.go
@@ -129,7 +129,7 @@ func archExpm1(x float64) float64
func expm1TrampolineSetup(x float64) float64
func expm1Asm(x float64) float64
-const haveArchPow = true
+const haveArchPow = false
func archPow(x, y float64) float64
func powTrampolineSetup(x, y float64) float64