summaryrefslogtreecommitdiff
path: root/libgo/go/math/tan.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/tan.go')
-rw-r--r--libgo/go/math/tan.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/math/tan.go b/libgo/go/math/tan.go
index e544b276b5..f5230d3f1f 100644
--- a/libgo/go/math/tan.go
+++ b/libgo/go/math/tan.go
@@ -114,8 +114,8 @@ func tan(x float64) float64 {
/* map zeros and singularities to origin */
if j&1 == 1 {
- j += 1
- y += 1
+ j++
+ y++
}
z := ((x - y*PI4A) - y*PI4B) - y*PI4C