[PD] pow with negative base
Jack
jack at rybn.org
Tue Nov 11 15:10:41 CET 2008
This patch has a problem with negative value with [pow 2] for example.
Here a patch working with all values.
++
Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pow.pd
Type: application/octet-stream
Size: 773 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081111/a92ada19/attachment.obj>
-------------- next part --------------
Le 10 nov. 08 ? 22:20, olsen a ?crit :
> hi list
> as [pow] cannot handle negative messages - is my mind playing
> tricks on me or is the attached version the easiest way to
> exponentiate negative factors in pd?
> thanks for satori
> olsen
>
>
>
>
>
> --
> Planet Pluto bleibt!
> #N canvas 56 102 283 278 10;
> #X obj 93 25 moses 0;
> #X obj 132 81 pow 2;
> #X obj 93 82 pow 2;
> #X obj 93 55 * -1;
> #X floatatom 118 153 5 0 0 0 - - -;
> #X obj 93 105 * -1;
> #X floatatom 93 1 5 0 0 0 - - -;
> #X floatatom 150 51 5 0 0 0 - - -;
> #X connect 0 0 3 0;
> #X connect 0 1 1 0;
> #X connect 1 0 4 0;
> #X connect 2 0 5 0;
> #X connect 3 0 2 0;
> #X connect 5 0 4 0;
> #X connect 6 0 0 0;
> #X connect 7 0 1 1;
> #X connect 7 0 2 1;
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> listinfo/pd-list
More information about the Pd-list
mailing list