<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">It may be a bit more complex since exponent values between -1 and 1 are the<br>

</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ones that generate imaginary numbers from negative values, with the<br></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">exception of 0 which generates 1. Latest pd-l2ork patch tries to fix this.<br>

</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">See:</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<a href="https://github.com/pd-l2ork/pd/commit/95d82d33d2580a00e32d725e0f5147d88cdaf3" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">https://github.com/pd-l2ork/pd/commit/95d82d33d2580a00e32d725e0f5147d88cdaf3</a></blockquote>

<div><br></div><div>I think Ivica&#39;s proposal is a great solution. Still output 0 for any NaNs but report it to the user so they are aware. </div><br><div class="gmail_quote">On 24 April 2013 09:50, IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">On 2013-04-24 04:10, Ivica Ico Bukvic wrote:<br>
&gt; It may be a bit more complex since exponent values between -1 and<br>
&gt; 1 are the ones that generate imaginary numbers from negative<br>
&gt; values,<br>
<br>
</div>we call those NaNs.<br>
<br>
&quot;the implementation would be trivial&quot; implied &quot;if you are ready to<br>
deal with NaNs&quot;.<br>
<div class="im"><br>
On 2013-04-24 05:15, Ivica Ico Bukvic wrote:<br>
&gt;<br>
&gt; Yes, the proposed patch generates 0 when imaginary numbers are<br>
&gt; involved and issues warning on the console with ability to track<br>
&gt; the error.<br>
<br>
</div>in which the original behaviour is probably &quot;better&quot;, as the result<br>
won&#39;t start jumping widely between real values and zero.<br>
<br>
<br>
it seems like i have somehow turned into a defender of the current<br>
behaviour of [pow].<br>
i&#39;d rather not (that is: personally i&#39;d rather not have too many<br>
constructs built into Pd that seemingly make life easier and protect<br>
people from doing stupid things)<br>
<br>
<br>
<br>
rtfgmqawe<br>
<div class="im">IOhannes<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAlF3nNYACgkQkX2Xpv6ydvRlTACePiG5HlLocgfVXtKa/cursSDJ<br>
vwoAnA0vk+WEYN0iDjD1amwaPFciJzRn<br>
=DfXc<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Follow me on Twitter @diplojocus