]> Cypherpunks repositories - gostls13.git/commit
math: ensure Erfc is not called with out-of-expected-range arguments on s390x
authorbill_ofarrell <billo@ca.ibm.com>
Tue, 31 Jul 2018 23:48:52 +0000 (19:48 -0400)
committerIan Lance Taylor <iant@golang.org>
Fri, 3 Aug 2018 01:21:31 +0000 (01:21 +0000)
commitf04a002e5ab99868d89e3263cfe947853d87b2d6
tree446ebd0f74a38d163aa5dab78ee266e0fd3a3e6f
parentdb810b6e394c38a0bd0eb52c3475d0fbc08469f8
math: ensure Erfc is not called with out-of-expected-range arguments on s390x

The existing implementation produces correct results with a wide range of inputs,
but invalid results asymptotically. With this change we ensure correct asymptotic results
on s390x

Fixes #26477

Change-Id: I760c1f8177f7cab2d7622ab9a926dfb1f8113b49
Reviewed-on: https://go-review.googlesource.com/127119
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/erfc_s390x.s