diff options
| author | Russ Cox <rsc@golang.org> | 2009-10-06 19:40:35 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-10-06 19:40:35 -0700 |
| commit | db62e99a735a036afda2098f1a721fe8dbf6ce76 (patch) | |
| tree | 0659cc93b73ec28c8a1b46725f0c3d540bda5daf /src/pkg/math/tanh.go | |
| parent | 184ae37561c4cfc3b2351312d3793c5788f67ae8 (diff) | |
| download | golang-db62e99a735a036afda2098f1a721fe8dbf6ce76.tar.gz | |
apply gofmt to malloc math once os
R=gri
DELTA=566 (4 added, 14 deleted, 548 changed)
OCL=35410
CL=35419
Diffstat (limited to 'src/pkg/math/tanh.go')
| -rw-r--r-- | src/pkg/math/tanh.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/tanh.go b/src/pkg/math/tanh.go index 20dc5b79d..dd403a4e0 100644 --- a/src/pkg/math/tanh.go +++ b/src/pkg/math/tanh.go @@ -20,7 +20,7 @@ func Tanh(x float64) float64 { if x > 21 { return -1; } - return -Sinh(x)/Cosh(x); + return -Sinh(x) / Cosh(x); } if x > 21 { return 1; |
