[PD] 1 / 0 = 0?
Alexandre Torres Porres
porres at gmail.com
Thu May 24 18:44:14 CEST 2018
expr can give you inf/nans eventually, but it was not originally part of
2018-05-24 13:43 GMT-03:00 Alexandre Torres Porres <porres at gmail.com>:
> Many math objects in pd have protection against nan/inf, not only in the
> audio control. It is the official policy
> 2018-05-24 12:49 GMT-03:00 Martin Peach <chakekatzil at gmail.com>:
>> On Thu, May 24, 2018 at 10:57 AM, Christof Ressi <christof.ressi at gmx.at>
>> there's no other sane way to handle division by 0 in the audio domain
>>> since the result must be a number and there are only two options: output 0
>>> or some ridiculously large number (which would be quite dangerous).
>> Yes, but if you try division by a very small number close to zero you
>> still get very large numbers that audio hardware will clip to +-1; the
>> singularity at zero is weird.
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list