projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d413e8549cefb8575ce51e1f1d06c906e324a886
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
honnef.co
/
go
/
tools@v0.0.1-2020.1.5
/
staticcheck
/
testdata
/
src
/
CheckMathInt
/
CheckMathInt.go
1
package pkg
2
3
import "math"
4
5
func fn(x int) {
6
math.Ceil(float64(x)) // want `on a converted integer is pointless`
7
math.Floor(float64(x * 2)) // want `on a converted integer is pointless`
8
}