Rounding algorithms in Go language.