]> Cypherpunks repositories - gostls13.git/commit
math: test large negative values as args for trig functions
authorKeith Randall <khr@golang.org>
Fri, 14 Jul 2023 15:34:39 +0000 (08:34 -0700)
committerKeith Randall <khr@google.com>
Mon, 17 Jul 2023 21:05:34 +0000 (21:05 +0000)
commit9b335433396088d2701e8a058ae107689404ec6a
treeba1d1f1633d708dba134e4fdb5d871c0de8abc58
parent229cde5149fb30b5207c03e7ad296d9dbe027e66
math: test large negative values as args for trig functions

Sin/Tan are odd, Cos is even, so it is easy to compute the correct
result from the positive argument case.

Change-Id: If851d00fc7f515ece8199cf56d21186ced51e94f
Reviewed-on: https://go-review.googlesource.com/c/go/+/509815
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Srinivas Pokala <Pokala.Srinivas@ibm.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/math/huge_test.go