summaryrefslogtreecommitdiff
path: root/src/pkg/math/atan.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/atan.go')
-rw-r--r--src/pkg/math/atan.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/atan.go b/src/pkg/math/atan.go
index 1582031a3..4f0ad9bf0 100644
--- a/src/pkg/math/atan.go
+++ b/src/pkg/math/atan.go
@@ -32,7 +32,7 @@ func xatan(arg float64) float64 {
Q0 = .89678597403663861962481162e3;
)
sq := arg * arg;
- value := ((((P4*sq+P3)*sq+P2)*sq + P1) * sq + P0);
+ value := ((((P4*sq+P3)*sq+P2)*sq+P1)*sq + P0);
value = value / (((((sq+Q4)*sq+Q3)*sq+Q2)*sq+Q1)*sq + Q0);
return value * arg;
}