[PD] 1 / 0 = 0?
William Huston
williamahuston at gmail.com
Thu May 24 16:34:17 CEST 2018
I have a function which blows up at a certain point, moves to infinity.
In this case, it is basically 1/0.
I was a little surprised to find that 1/0 = 0 (according to Pd).
I was expecting NaN, or an overflow condition would could be trapped.
So what I have to do is examine the *input* for the values
which will blow up my function, and set a flag. While this
is easy in this single case, it is awkward in the general case.
This seems somewhat broken to me.
Is this a bug?
Thanks
BH
--
William Huston: WilliamAHuston at gmail.com
Binghamton NY
*Public Service Mapping / Videography / Research*
Blog <http://WilliamAHuston.blogspot.com> -- Facebook
<http://facebook.com/billhuston> -- Twitter
<http://twitter.com/WilliamAHuston>-- Youtube
<https://www.youtube.com/channel/UCGijK1amWOLglT3YeTyEBNQ?sub_congfirmation=1>
Document collections: VirtualPipelines <http://TinyURL.com/VirtualPipelines>
-- BHDCSDimockArchive <http://bit.ly/BHDCSDimockArchive>
Please support my work: TinyURL.com/DonateToBillHuston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180524/d12709f0/attachment-0001.html>
More information about the Pd-list
mailing list