aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorKonstantin Shaposhnikov <k.shaposhnikov@gmail.com>2015-09-08 19:26:02 +0800
committerRob Pike <r@golang.org>2015-09-09 05:07:52 +0000
commit49fb8cc10c2d61ebdf3829f42bba9bec7b0a7ff7 (patch)
treef4d301cf266ee06667f745d927901b5e33532123 /src/math
parent0cf7331391ba9ceb7ae755ca9172ba90f6ac516b (diff)
downloadgo-49fb8cc10c2d61ebdf3829f42bba9bec7b0a7ff7.tar.xz
all: minor documentation tweaks for constants
Block comments appear after a block in the HTML documentation generated by godoc. Words like "following" should be avoided. Change-Id: Iedfad67f4b8b9c84f128b98b9b06fa76919af388 Reviewed-on: https://go-review.googlesource.com/14357 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/float.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/float.go b/src/math/big/float.go
index d7aa8953c4..ef74fec513 100644
--- a/src/math/big/float.go
+++ b/src/math/big/float.go
@@ -124,7 +124,7 @@ const (
// rounding error is described by the Float's Accuracy.
type RoundingMode byte
-// The following rounding modes are supported.
+// These constants define supported rounding modes.
const (
ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven
ToNearestAway // == IEEE 754-2008 roundTiesToAway