divideI

Divide two integers
Author: Remco van der Most
License: BSD
Github: sss/math/divideI.axo

Inlets

int32 input

int32 input

Outlets

int32 output

Control Rate
int Div = inlet_divide;
Div = Div == 0 ? Div + 1 : Div;
outlet_result = inlet_in / Div;
outlet_result -= inlet_in < 0 ? 1 : 0;

Privacy

© 2024 Zrna Research