summaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt_port.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-01-12 07:38:31 +1100
committerRob Pike <r@golang.org>2010-01-12 07:38:31 +1100
commit0490f773116d3742eff9c77e1ee41eb5d2912561 (patch)
treebed73cf7ceb4990efe50299a296481aa55165544 /src/pkg/math/sqrt_port.go
parent6de77b3decb69b0c806361740ab187339326cee0 (diff)
downloadgolang-0490f773116d3742eff9c77e1ee41eb5d2912561.tar.gz
Clean up and make consistent the comments in the math package.
R=rsc CC=golang-dev http://codereview.appspot.com/186042
Diffstat (limited to 'src/pkg/math/sqrt_port.go')
-rw-r--r--src/pkg/math/sqrt_port.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/math/sqrt_port.go b/src/pkg/math/sqrt_port.go
index feccbc619..125afcd98 100644
--- a/src/pkg/math/sqrt_port.go
+++ b/src/pkg/math/sqrt_port.go
@@ -4,6 +4,10 @@
package math
+/*
+ Floating-point square root.
+*/
+
// The original C code and the long comment below are
// from FreeBSD's /usr/src/lib/msun/src/e_sqrt.c and
// came with this notice. The go code is a simplified