mirror of
https://github.com/golang/go
synced 2024-10-01 07:28:35 -06:00
math/big: fix comment typos
Change-Id: I34cdc9cb3d32e86ff3a57db0012326c39cd55670 Reviewed-on: https://go-review.googlesource.com/20718 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
f2772a4935
commit
95c6c5f36b
@ -333,9 +333,9 @@ func (x *Float) fmtB(buf []byte) []byte {
|
|||||||
return strconv.AppendInt(buf, e, 10)
|
return strconv.AppendInt(buf, e, 10)
|
||||||
}
|
}
|
||||||
|
|
||||||
// fmtP appends the string of x in the format 0x." mantissa "p" exponent
|
// fmtP appends the string of x in the format "0x." mantissa "p" exponent
|
||||||
// with a hexadecimal mantissa and a binary exponent, or 0" if x is zero,
|
// with a hexadecimal mantissa and a binary exponent, or "0" if x is zero,
|
||||||
// ad returns the extended buffer.
|
// and returns the extended buffer.
|
||||||
// The mantissa is normalized such that 0.5 <= 0.mantissa < 1.0.
|
// The mantissa is normalized such that 0.5 <= 0.mantissa < 1.0.
|
||||||
// The sign of x is ignored, and x must not be an Inf.
|
// The sign of x is ignored, and x must not be an Inf.
|
||||||
func (x *Float) fmtP(buf []byte) []byte {
|
func (x *Float) fmtP(buf []byte) []byte {
|
||||||
|
Loading…
Reference in New Issue
Block a user