I made a bug report about this back in February: http://sourceforge.net/tracker/index.php?func=detail&aid=2583821&gro...
But I didn't address that [exp~] is missing a right inlet (or that the help file is wrong). So I just added that as a comment for this bug.
-Jonathan
--- On Tue, 9/8/09, Hans Roels hans.roels@base.be wrote:
From: Hans Roels hans.roels@base.be Subject: [PD] higher math To: pd-list@iem.at Date: Tuesday, September 8, 2009, 11:29 AM Hello,
I noticed some strange behaviour of some higher math objects in Pd vanilla (0.42-4): 'log~' has a right inlet and according to the help file a 'optional creation argument initializes right inlet (the base of the logarithm)' but this doesn't work. If I create a 'log~ 10' object it still computes the logarithm base e; after I send a number 10 to its right inlet, it does. The same for 'pow~', the initialisation argument doesn't work. the 'exp~' help file talks about a right inlet but there is no right inlet (I guess this is a wrong help file...). The non-audio object 'log' doesn't have a right inlet, so changing the base is impossible?
hans r
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Tue, 8 Sep 2009, Jonathan Wilkes wrote:
But I didn't address that [exp~] is missing a right inlet (or that the help file is wrong). So I just added that as a comment for this bug.
I don't understand why anyone might expect [exp] and [exp~] to have anything else than 1 inlet, and [pow] and [pow~] to have anything else than 2 inlets, in which the base comes before the exponent.
It's a very well entrenched standard in many languages, in which the only variations I ever see, is that pow is sometimes called "**" and sometimes "^"; and sometimes you have to get those functions from a namespace.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801