This is puzzling me.

I've been using [div] as the equivalent to

[/]
|
[int]

But I just noticed while scrolling in a number box that they aren't the same 
when the dividend is negative.  In the source for [div], I see this before 
doing the division:
if (n1 < 0) n1 -= (n2-1);

I feel like I'm missing something obvious.  Why does [div] behave this way? 

Thanks,
Jonathan



      

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to