Why is this not 0 on 50g or Prime? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Why is this not 0 on 50g or Prime? (/thread-11062.html) Pages: 1 2 |
RE: Why is this not 0 on 50g or Prime? - Vtile - 07-18-2018 08:49 PM (07-18-2018 08:31 PM)BartDB Wrote:Yes you are correct many such cases done with proper accepted rules (edit. btw. again exception in definition), but iirc isn't NaN (as infinity many results/logic brakepoint/undefined infinity)* and +-inf (numerical infinity)* and +-0 (infinitesimals/zero as inverse of infinity) used for such to continue the analysis in logical way.(07-18-2018 04:05 PM)Vtile Wrote: (a/b)/(a/b) = 1 *as I see/understand them. RE: Why is this not 0 on 50g or Prime? - Claudio L. - 07-19-2018 06:28 PM (07-18-2018 08:49 PM)Vtile Wrote: Yes you are correct many such cases done with proper accepted rules (edit. btw. again exception in definition), but iirc isn't NaN (as infinity many results/logic brakepoint/undefined infinity)* and +-inf (numerical infinity)* and +-0 (infinitesimals/zero as inverse of infinity) used for such to continue the analysis in logical way. In a way I tend to agree with you (I guess engineer's brains are wired like that), if we accept the "undefined" and stop the calculation there, then we don't need to define Infinity or NaN. Just throw a "Divide by zero" exception, end of discussion. Thing is, some calculators (and most computers) have the option NOT to throw an error on infinity, and then you need a set of consistent definitions to deal with this, where the only goal is to keep the calculation going in a meaningful way as far as possible. Having said that, I don't necessarily agree with 0/0=1 but it's practical for some summations, etc. so it's a valid choice if all you want is to be able to keep going with those summations. For other uses, that choice might be bad, so you cannot use it universally, hence 0/0=Undefined in most modern "universal" math packages and calculators. Other definitions, as arbitrary as they might seem (like +/-0), are more universally usable, hence they made it into our calculators/computers. In reality, once you get Infinity in any calculation, that thing propagates so fast to other results that you end up with matrices completely filled with NaN in just a couple of steps, and that's just as useless as stopping the calculation at the first exception. RE: Why is this not 0 on 50g or Prime? - Vtile - 07-19-2018 08:25 PM (07-19-2018 06:28 PM)Claudio L. Wrote:Thank you for consistent writeup, my output is always here and there as is my thoughts.(07-18-2018 08:49 PM)Vtile Wrote: Yes you are correct many such cases done with proper accepted rules (edit. btw. again exception in definition), but iirc isn't NaN (as infinity many results/logic brakepoint/undefined infinity)* and +-inf (numerical infinity)* and +-0 (infinitesimals/zero as inverse of infinity) used for such to continue the analysis in logical way. Edit. Hehe, a philosophical question is the zero exact in finite bit space of floating point number in computer or is there infinitesimal error. (I must admit this is as stupid one could think to get while written in the middle of the night. There should be a timer when one can write here) I like: https://youtu.be/FVZqPaH94qU Though I tend to disagree with the claim of no monads (now I have a new |