On Fri, Mar 26, 2010 at 9:57 AM, hugo rivera <uai...@gmail.com> wrote: > 2010/3/26 ron minnich <rminn...@gmail.com>: >> yes, so I wonder, under what circumstances would you want this >> non-useful output? Are you going to do further computation with the >> number that you can not represent? I almost prefer the Plan 9 behavior >> in this case ... > > Well, I was expecting this question :-) > But I don't actually have a good answer. It just felt wrong to let the > program crash.
Wrong answer for many cases. This is like saying you're happy with undetected memory corruption which might change data or break pointers. Would you accept that too? You just computed a number than can not be represented -- what do you intend to do with that? I think Plan 9 is right, and Linux wrong. ron