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

Re: Suggestion of annex D



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.


Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email:  nmm1@xxxxxxxxx
Tel.:  +44 1223 334761    Fax:  +44 1223 334679

754 | revision | FAQ | references | list archive