[PD] 1 / 0 = 0?

Martin Peach chakekatzil at gmail.com
Thu May 24 19:47:51 CEST 2018


On Thu, May 24, 2018 at 12:43 PM, Alexandre Torres Porres <porres at gmail.com>
wrote:

> Many math objects in pd have protection against nan/inf, not only in the
> audio control. It is the official policy
>
> I think it makes more sense to use FLT_MAX (1E+37) for +infinity, not
zero. For continuity with adjacent values. See attached patch.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180524/2f3231d1/attachment.html>
-------------- next part --------------
#N canvas 270 322 450 300 10;
#X obj 191 112 / 1;
#X msg 179 52 1 1e-037;
#X obj 225 184 print;
#X floatatom 140 203 9 0 0 0 - - -;
#X connect 0 0 2 0;
#X connect 0 0 3 0;
#X connect 1 0 0 0;


More information about the Pd-list mailing list