koadrobot/maths
#pragma XOD dirtieness disable struct State {}; {{ GENERATED_CODE }} void evaluate(Context ctx) { Number lhs = getValue<input_IN1>(ctx); Number rhs = getValue<input_IN2>(ctx); emitValue<output_MIN>(ctx, (lhs < rhs)?lhs:rhs); emitValue<output_MAX>(ctx, (lhs > rhs)?lhs:rhs); }
© 2017–2024XOD Inc
Contact us: hello@xod.io