| 74 | } |
| 75 | |
| 76 | constexpr char const* GetBinaryOperationAsCString(BinaryOperation operation) |
| 77 | { |
| 78 | switch (operation) |
| 79 | { |
| 80 | case BinaryOperation::Add: return "Add"; |
| 81 | case BinaryOperation::Div: return "Div"; |
| 82 | case BinaryOperation::Maximum: return "Maximum"; |
| 83 | case BinaryOperation::Minimum: return "Minimum"; |
| 84 | case BinaryOperation::Mul: return "Mul"; |
| 85 | case BinaryOperation::Power: return "Power"; |
| 86 | case BinaryOperation::SqDiff: return "SqDiff"; |
| 87 | case BinaryOperation::Sub: return "Sub"; |
| 88 | case BinaryOperation::FloorDiv: return "FloorDiv"; |
| 89 | default: return "Unknown"; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | constexpr char const* GetUnaryOperationAsCString(UnaryOperation operation) |
| 94 | { |
no outgoing calls