| 55 | std::conditional_t<std::is_same_v<T, float>, float, double>; |
| 56 | |
| 57 | static bool toIntermediate( |
| 58 | exec::out_type<Row<double, int64_t>>& out, |
| 59 | exec::arg_type<T> in) { |
| 60 | out.copy_from(std::make_tuple(static_cast<double>(in), 1)); |
| 61 | return true; |
| 62 | } |
| 63 | |
| 64 | struct AccumulatorType { |
| 65 | double sum_; |