Giant blob of minor changes
[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 }