Re: [PD] div vs. / i

2009-02-10 Thread Mathieu Bouchard
On Sun, 8 Feb 2009, Jonathan Wilkes wrote: Thanks a lot for the explanation. Would it be possible to add a help patch to pd, something like the one attached? div, mod, and % currently default to otherbinops-help.pd but aren't included in that patch. It would be better if you used [*] and

Re: [PD] div vs. / i

2009-02-08 Thread Jonathan Wilkes
: Mathieu Bouchard ma...@artengine.ca Subject: Re: [PD] div vs. / i To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at Date: Friday, February 6, 2009, 4:12 PM On Fri, 6 Feb 2009, Jonathan Wilkes wrote: But I just noticed while scrolling in a number box that they aren't the same when

[PD] div vs. / i

2009-02-06 Thread Jonathan Wilkes
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

Re: [PD] div vs. / i

2009-02-06 Thread Mathieu Bouchard
On Fri, 6 Feb 2009, Jonathan Wilkes wrote: 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