<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div><div>> On Wednesday, May 9, 2018, 12:55:59 PM EDT, Martin Peach <chakekatzil@gmail.com> wrote:
                    
                    </div><div id="ydpfe9cb0b4yahoo_quoted_6806376624" class="ydpfe9cb0b4yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><br></div>
                    <div><br></div>
                    <div><div id="ydpfe9cb0b4yiv3182319025"><div><div dir="ltr">On Wed, May 9, 2018 at 10:38 AM, Alexandre Torres Porres <span dir="ltr"><<a shape="rect" href="mailto:porres@gmail.com" rel="nofollow" target="_blank">porres@gmail.com</a>></span> wrote:<br clear="none"><div class="ydpfe9cb0b4yiv3182319025gmail_extra"><div class="ydpfe9cb0b4yiv3182319025gmail_quote"><blockquote class="ydpfe9cb0b4yiv3182319025gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">You know, now that you the inability to deal with nan/inf in pd, such as in [select] came up, it makes total sense to avoid them in Pd and I can see where that comes from.<div><br clear="none"></div><div>By the way, filtering out nan/inf is quite common in Max for audio signals, and in cyclone we needed to check that in objects like the trig functions (for instance  cyclone/atanh~ outputs 0 for input values <= -1 or >=1). And the case for doing that in audio signals is strong, as people say inf/nan is not good if it reaches your speakers and stuff.<br clear="none"><br clear="none">I was still unsure about why doing that for cnotrol numbers as well, but what's the point in generating them if your system doesn't handle it well, right? In the case of [pow], "0" is a good limit value to clip your output, it makes sense since you can't get negative numbers but you can reach 0!</div><div><br clear="none"></div></div></blockquote><div><div><br></div><div>> I just tried this in Max6:</div>> [pow 2] with a negative input gives a correct positive result.<br clear="none"></div><div><div>> [pow 0.5] with negative input sets a floatnumberbox to 'nan', but [print]s the value '-1.#IND00'.</div><div>> In max, neither of these works in a [sel].</div><div><br></div><div>And how about [pow~]-- what does it do in Max?</div><div><br></div><div>-Jonathan<br></div></div></div></div></div></div></div></div>
                </div>
            </div></div></body></html>