]> Cypherpunks repositories - gostls13.git/commitdiff
math/big: fix typos
authorRobert Griesemer <gri@golang.org>
Sat, 31 Jan 2015 00:33:31 +0000 (16:33 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 3 Feb 2015 18:48:38 +0000 (18:48 +0000)
Change-Id: Icb1490f97584d61823339ae809b88d423b185e64
Reviewed-on: https://go-review.googlesource.com/3751
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/float.go
src/math/big/floatconv.go

index 1c3fcb5f7429f6962d1d832c76466203fc5fe0c9..ea42a9166e9ed2857809fca51b93d0f4acfb1043 100644 (file)
@@ -58,7 +58,7 @@ const debugFloat = true // enable for debugging
 // rounding, Float arithmetic operations emulate the corresponding float32
 // or float64 IEEE-754 operations (except for denormalized numbers and NaNs).
 //
-// CAUTION: THIS IS WORK IN PROGRESS - DO NOT USE YET.
+// CAUTION: THIS IS WORK IN PROGRESS - USE AT YOUR OWN RISK.
 //
 type Float struct {
        mode RoundingMode
index f50a3a5c72adefa537e44ecf101220ab5958c4d6..a1b234f144e31742605e9c409c285c06a4177781 100644 (file)
@@ -184,7 +184,7 @@ func ParseFloat(s string, base int, prec uint, mode RoundingMode) (f *Float, b i
 //
 // BUG(gri) Currently, Format only accepts the 'b' and 'p' format.
 func (x *Float) Format(format byte, prec int) string {
-       const extra = 10 // TODO(gri) determine a good/better vaue here
+       const extra = 10 // TODO(gri) determine a good/better value here
        return string(x.Append(make([]byte, 0, prec+extra), format, prec))
 }