Fix wrong comment

This commit is contained in:
anhhh.11
2020-05-22 12:32:00 +07:00
committed by Inanc Gumus
parent 5d7e245bfe
commit 66343e1a28

View File

@@ -38,7 +38,7 @@ func main() {
// wrap around to its minimum
un = math.MaxUint8
fmt.Println("max uint8 + 1:", un+1) // 255
fmt.Println("max uint8 + 1:", un+1) // 0
// floats goes to infinity when overflowed
f := float32(math.MaxFloat32)