[v3] Fix libstdc++/50880

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Oct 27 14:58:00 GMT 2011


On Thu, Oct 27, 2011 at 8:21 AM, Paolo Carlini <pcarlini@gmail.com> wrote:
> Hi again,
>>
>> Hmm, why is the test of the form x < 0.0, and not testing the sign of x?
>
> Actually, we can as well use the std::abs, no?
>
> Paolo


The point of using sign is so that signed zero is not
mischaracterized, especially
when cut branch is at issue.



More information about the Libstdc++ mailing list