Just don’t allow your function to blow up in the first place.
On Thursday, May 24, 2018, William Huston <williamahuston@gmail.com> wrote:
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 valueswhich will blow up my function, and set a flag. While thisis easy in this single case, it is awkward in the general case.This seems somewhat broken to me.Is this a bug?ThanksBH--
William Huston: WilliamAHuston@gmail.com
Binghamton NY
Public Service Mapping / Videography / Research
Blog -- Facebook -- Twitter -- Youtube
Document collections: VirtualPipelines -- BHDCSDimockArchive
Please support my work: TinyURL.com/DonateToBillHuston