| 155 | |
| 156 | template<class F> |
| 157 | static std::vector<MathLib::bigint> apply(const std::vector<MathLib::bigint>& x, |
| 158 | const std::vector<MathLib::bigint>& y, |
| 159 | F f) |
| 160 | { |
| 161 | if (x.empty()) |
| 162 | return {}; |
| 163 | if (y.empty()) |
| 164 | return {}; |
| 165 | return {f(x.front(), y.front())}; |
| 166 | } |
| 167 | |
| 168 | static std::vector<const ValueFlow::Value*> merge(std::vector<const ValueFlow::Value*> x, |
| 169 | const std::vector<const ValueFlow::Value*>& y) |