[Bug 21619] wrong results when handeling -0 negativeZero

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21619

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Concerning ForExprType010, the values are decimal rather than double/float, and
the type xs:decimal does not have a negative zero in its value space.

Concerning orderBy29, the last result in the sequence is formed by converting
"-0" to decimal (giving zero) and then multiplying by the double value -1e0.
First the decimal zero is converted to the double (positive) zero, then this is
multiplied by double minus one. The IEEE rules are that +0e0 times -1e0 gives
negative zero.

So I believe both tests are correct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 8 April 2013 13:52:07 UTC