[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why do some math functions return -0
- From: David Kastrup <dak@...>
- Date: Mon, 20 Sep 2010 10:18:06 +0200
Tony Finch <dot@dotat.at> writes:
> On 20 Sep 2010, at 08:29, David Kastrup <dak@gnu.org> wrote:
>>
>> And you did not realize that in all the presented code, there was _no_
>> way that would _ever_ generate -0 unless there was a processing error
>> involved.
>
> It can happen if the rounding mode is towards negative infinity.
Please point out the line in question where this would apply.
And explain why the rounding mode should be set towards negative
infinity.
You need two conditions to hold true here. Show even one of them.
--
David Kastrup
- References:
- Why do some math functions return -0, Mike McGonagle
- Re: Why do some math functions return -0, Drake Wilson
- Re: Why do some math functions return -0, Mike McGonagle
- Re: Why do some math functions return -0, caseyh
- Re: Why do some math functions return -0, David Kastrup
- 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