commit | 46a669c4ca5b80fd6f6a0a42095804d9f704611d | [log] [tgz] |
---|---|---|
author | Matthieu Sarter <matthieu.sarter.external@atos.net> | Wed Mar 29 17:55:06 2017 +0200 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Apr 24 19:39:26 2017 +0000 |
tree | fc9cd7ed8de7a3ddb312c6f3134627085d9eff01 | |
parent | be4a751943265c0637da859d15a4faf162f5c478 [diff] |
math: fix sign for atan/expm1/log1p(-0) AIX libc returns +0 for atan(-0), expm1(-0) and log1p(-0), while matching Go functions must return -0. Code courtesy of Tony Reix. Issue golang/go#19200 Change-Id: I6fe360369216784a301eeee508f178f4e902ac95 Reviewed-on: https://go-review.googlesource.com/38699 Reviewed-by: Ian Lance Taylor <iant@golang.org>