#pragma XOD dirtieness disable
struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
Number x = getValue<input_IN1>(ctx);
Number y = getValue<input_IN2>(ctx);
emitValue<output_OUT>(ctx, (x-y));
}
IN1 | IN2 | OUT |
1 | 0 | 1 |
0 | 1 | -1 |
0 | 0 | 0 |