code: func ConvertFloatToUint(sc *stmtctx.StatementContext, fval float64, upperBound uint64, tp byte) (uint64, error) {
  	val := RoundFloat(fval)
  	if val < 0 {
  		if sc.ShouldClipToZero() {
  			return 0, overflow(val, tp)
  		}
  		return uint64(int64(val)), overflow(val, tp)
  	}
  
  	if val > float64(upperBound) {
  		return upperBound, overflow(val, tp)
  	}
  	return uint64(val), nil
  }
docs: // ConvertFloatToUint converts a float value to an uint value.