W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2016

[Bug 29401] [QT3] numeric-unary return type

From: <bugzilla@jessica.w3.org>
Date: Sun, 31 Jan 2016 16:52:30 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29401-523-VryTbAhOKj@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29401

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
Abel, the point is that if $X is a decimal, then we require that -$X and +$X
return a decimal, but this does not preclude them returning an integer, because
an integer is a decimal and therefore satisfies the requirement. But the test
is written to fail if the returned value is an integer.

I have committed a change to the test to use xs:decimal(2.5) rather than
xs:decimal(2) so that the question does not arise. Leaving the bug open in case
others disagree.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 31 January 2016 16:52:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:57 UTC