code: func renderInteger(f float64) string {
  	if f > math.Nextafter(float64(math.MaxInt64), 0) {
  		return fmt.Sprintf("%d", int64(math.MaxInt64))
  	}
  	if f < math.Nextafter(float64(math.MinInt64), 0) {
  		return fmt.Sprintf("%d", int64(math.MinInt64))
  	}
  	return fmt.Sprintf("%d", int64(f))
  }
docs: // renderInteger renders a max or min value properly, taking into account
  // overflows due to casting from a float value.