math/big: using the min built-in function

Change-Id: I9e95806116a8547ec782f66226d1b1382c6156de
This commit is contained in:
qiulaidongfeng 2023-08-08 09:40:00 +08:00
parent d9f7e1dc73
commit 5b4ce994c1
1 changed files with 0 additions and 7 deletions

View File

@ -444,13 +444,6 @@ func (x *Float) fmtP(buf []byte) []byte {
return strconv.AppendInt(buf, int64(x.exp), 10)
}
func min(x, y int) int {
if x < y {
return x
}
return y
}
var _ fmt.Formatter = &floatZero // *Float must implement fmt.Formatter
// Format implements fmt.Formatter. It accepts all the regular