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

Re: Suggestion of annex D



On 2007-05-29 16:30:33 +0100, Nick Maclaren wrote:
Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
On 2007-05-29 23:32:57 +1000, Peter Henderson wrote:
I very much prefer log(-0) = -inf. I do not think many programmers
would be pleased to performn the check x>= 0 and then get hit with
a NaN.

I agree.

Which is absolutely joyous for the people who calculate log(x)/x,
and make the not-unreasonable assumption that it is always less
than 1/e.

Everyone should know that when dealing with signed zeroes (in
particular), some properties may no longer be true, starting
with 1/sqrt(x) >= 0.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

754 | revision | FAQ | references | list archive