Re: Why do some math functions return -0
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Why do some math functions return -0
- From: Tony Finch <dot@...>
- Date: 2010年9月20日 18:49:54 +0100
On 2010年9月20日, David Kastrup wrote:
>
> I have yet to see any rationale for returning -0 for positive operands.
William Kahan mentions that it makes interval arithmetic work better.
http://www.cs.berkeley.edu/~wkahan/ieee754status/IEEE754.PDF
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.
- References:
- Re: Why do some math functions return -0, HyperHacker
- Re: Why do some math functions return -0, KHMan
- Re: Why do some math functions return -0, HyperHacker
- Re: Why do some math functions return -0, David Kastrup
- Re: Why do some math functions return -0, Tony Finch
- Re: Why do some math functions return -0, David Kastrup
- Re: Why do some math functions return -0, Tony Finch
- Re: Why do some math functions return -0, David Kastrup
- Re: Why do some math functions return -0, Tony Finch
- Re: Why do some math functions return -0, David Kastrup
- Re: Why do some math functions return -0, Roberto Ierusalimschy
- Re: Why do some math functions return -0, bb
- Re: Why do some math functions return -0, David Kastrup