summaryrefslogtreecommitdiff
path: root/src/pkg/math/sinh.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/sinh.go')
-rw-r--r--src/pkg/math/sinh.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/math/sinh.go b/src/pkg/math/sinh.go
index 255ea2851..6974b5986 100644
--- a/src/pkg/math/sinh.go
+++ b/src/pkg/math/sinh.go
@@ -42,7 +42,7 @@ func Sinh(x float64) float64 {
temp = Exp(x)/2;
case x > 0.5:
- temp = (Exp(x) - Exp(-x))/2;
+ temp = (Exp(x)-Exp(-x))/2;
default:
sq := x*x;
@@ -64,5 +64,5 @@ func Cosh(x float64) float64 {
if x > 21 {
return Exp(x)/2;
}
- return (Exp(x) + Exp(-x))/2;
+ return (Exp(x)+Exp(-x))/2;
}