]> Cypherpunks repositories - gostls13.git/commit
math/cmplx: avoid panic in Pow(x, NaN())
authorBryan C. Mills <bcmills@google.com>
Tue, 5 Feb 2019 15:22:32 +0000 (10:22 -0500)
committerBryan C. Mills <bcmills@google.com>
Wed, 27 Feb 2019 14:01:03 +0000 (14:01 +0000)
commitbd986286767f046ae47b6496d4dffb541e6d0cb6
treee0fe5f76afa17cbd2e5d6ceb9bd14aa670db5bd8
parent4a9aba5afe8358b1f7a55d374fbefd9504f377e2
math/cmplx: avoid panic in Pow(x, NaN())

Fixes #30088

Change-Id: I08cec17feddc86bd08532e6b135807e3c8f4c1b2
Reviewed-on: https://go-review.googlesource.com/c/161197
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/math/cmplx/cmath_test.go
src/math/cmplx/pow.go