The builtin [math.Max](https://golang.org/pkg/math/#Max) is for float64 so every time a max for int is needed, I need to write an adoc func somewhere