On Sat, May 7, 2016 at 6:44 PM, Miller Puckette <msp@ucsd.edu> wrote:I _think_ (but am not sure) that "%" works differently on different
CPU architectures.
% can be different with respect to sign in different implementations of C. fmod() in C is designed to work with floats.
On my system, -10 [mod 3] and -10 [% 3] in Pd work differently. [mod] outputs the positive remainder, which is 2, while % outputs the remainder with the sign of the dividend, which is -1.