mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
8c41a482f9
commit
489d3dafb7
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ func archExpm1(x float64) float64
|
||||||
func expm1TrampolineSetup(x float64) float64
|
func expm1TrampolineSetup(x float64) float64
|
||||||
func expm1Asm(x float64) float64
|
func expm1Asm(x float64) float64
|
||||||
|
|
||||||
const haveArchPow = true
|
const haveArchPow = false
|
||||||
|
|
||||||
func archPow(x, y float64) float64
|
func archPow(x, y float64) float64
|
||||||
func powTrampolineSetup(x, y float64) float64
|
func powTrampolineSetup(x, y float64) float64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue