MartinusMagneson's picture
+0

Hi

Just wondering why the modulo operation won't compile in QT? I get around it by using Vuo[Type]_wrap, but was just wondering why since it returns an error regarding VuoReal not being a double (while being a double?).

Not something to spend a lot of time on but if it's a quick answer I'll appreciate it.

1 Answer

jstrecker's picture
+1

In C and C++, the % operator only works on integers, so for VuoReal you would use the fmod function.