summaryrefslogtreecommitdiff
path: root/src/pkg/math/tanh.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/tanh.go')
-rw-r--r--src/pkg/math/tanh.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/pkg/math/tanh.go b/src/pkg/math/tanh.go
index 144c08530..8bcf2ddac 100644
--- a/src/pkg/math/tanh.go
+++ b/src/pkg/math/tanh.go
@@ -6,12 +6,11 @@ package math
/*
- * tanh(x) computes the hyperbolic tangent of its floating
- * point argument.
- *
- * sinh and cosh are called except for large arguments, which
- * would cause overflow improperly.
- */
+ Floating-point hyperbolic tangent.
+
+ Sinh and Cosh are called except for large arguments, which
+ would cause overflow improperly.
+*/
// Tanh computes the hyperbolic tangent of x.
func Tanh(x float64) float64 {