On Fri, 2009-08-14 at 13:06 +0100, Damon Chaplin wrote:
> On Fri, 2009-08-14 at 13:03 +0100, Damon Chaplin wrote:
> 
> >   if (u.int_value & 0x7f800000)
> >      fv = 0.0f;
> 
> Oops. That should be:
> 
>  if (u.int_value & 0x7f800000 == 0)
>      fv = 0.0f;

Or even better:

 if ((u.int_value & 0x7f800000) == 0)
    fv = 0.0f;

Damon



_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to