[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc segfault on "special" long double values is _ok_!?

From: Nix
Subject: Re: glibc segfault on "special" long double values is _ok_!?
Date: Fri, 08 Jun 2007 20:34:39 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (linux)

On 8 Jun 2007, James Youngman said:
> On 6/8/07, Nix <address@hidden> wrote:
>> I'd say this behaviour violates the principle of least astonishment, at
>> least. Mind you, avoiding it does seem like it could be expensive: [...]
> Maybe.  For the issue-diagnostic-message use case, performance is not
> such an issue.  But I'm sure there are valid use cases where ultimate
> performance is really vital.  Use-cases vary a lot.

I wonder if what we need is some sort of floating-point-number
validation function that we could call if we thought the number we were
about to print may be suspect. (But even then, *any* double may be
rendered suspect by bad RAM, and that's a problem that will only
increase as RAM densities rise.)

`... in the sense that dragons logically follow evolution so they would
 be able to wield metal.' --- Kenneth Eng's colourless green ideas sleep

reply via email to

[Prev in Thread] Current Thread [Next in Thread]