On Fri, Mar 26, 2010 at 4:58 AM, hugo rivera <uai...@gmail.com> wrote:
> Hello,
> float operations are causing me some headaches on plan 9 (9vx).
> I have a program that crashes badly when I feed it with near-the-top
> doubles ~1.1e308. This causes an overflow in a function that needs to
> square this values and acid points the line where the first call to
> pow(2) occurs when I debug it. The problem is that this doesn't happen
> at all when the program is compiled with gcc (9c) on linux. Obviously
> my results aren't useful,

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 ...

ron

Reply via email to