summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--round.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/round.go b/round.go
index d754f1a..ca3c0b8 100644
--- a/round.go
+++ b/round.go
@@ -3,7 +3,9 @@ package float
import "math"
// Round a float value
-// https://www.cockroachlabs.com/blog/rounding-implementations-in-go/
+//
+// see https://www.cockroachlabs.com/blog/rounding-implementations-in-go/
+// and https://github.com/golang/go/issues/20100
func Round(x float64) float64 {
const (
mask = 0x7FF