Hi, Is there an integer version of the remainder() function in Faust? Or any plans to add one?
I have found both %() (integer modulus) and fmod() (floating-point modulus) but I am not finding an integer equivalent of remainder(). I am using remainder() on integers now, but then Faust promotes them to floats in the generated C++ code, so in theory there’s a performance hit. (Unless LLVM is smart enough to demote floats to ints?) Curiously, -mykle- _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users