[PD] rhythm_esitamtor_0.1 .

IOhannes m zmoelnig zmoelnig at iem.kug.ac.at
Tue Feb 26 16:50:14 CET 2002

"joge ." wrote:
> i got this bad boy to compile on windows however i had to comment a
> identifier called "rint" , it lead to an unresolved external . does any one
> know where i could find this external, or was it part of one of the old pd
> release but is not longer included ?  i am jsut worried that the variable
> that is defined with this "rint" identifier might not be doing it job
> properly .  here is he line of code and the modification i made to it :
from "man rint":
       #include <math.h>

       double nearbyint(double x);
       double rint(double x);

       The nearbyint functions round their argument to an integer
       value in floating point format, using the current rounding
       direction and without raising the inexact exception.

       The rint functions do the same, but will raise the inexact
       exception  when the result differs in value from the argu­

then "man round" says something like:
       These functions round x to the nearest integer, but  round
       halfway  cases  away  from zero (regardless of the current
       rounding direction), instead of to the nearest even  inte­
       ger like rint().


More information about the Pd-list mailing list