mirror of https://github.com/golang/go.git
The condition to determine if any further iterations are needed is evaluated to false in case it encounters a NaN. Instead, flip the condition to keep looping until the factor is greater than the machine roundoff error. Updates #17577 Change-Id: I058abe73fcd49d3ae4e2f7b33020437cc8f290c3 Reviewed-on: https://go-review.googlesource.com/31952 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
|---|---|---|
| .. | ||
| abs.go | ||
| asin.go | ||
| cmath_test.go | ||
| conj.go | ||
| example_test.go | ||
| exp.go | ||
| isinf.go | ||
| isnan.go | ||
| log.go | ||
| phase.go | ||
| polar.go | ||
| pow.go | ||
| rect.go | ||
| sin.go | ||
| sqrt.go | ||
| tan.go | ||