W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2008

[Bug 5617] [F&O] Summary of numeric-unary-plus

From: <bugzilla@farnsworth.w3.org>
Date: Tue, 22 Apr 2008 17:26:03 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JoMFn-0007Fe-QY@farnsworth.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5617


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from mike@saxonica.com  2008-04-22 17:26 -------
On 22 April 2008 the WG asked the editor to propose revised text for
op:unary-plus and op:unary-minus that clarifies that type promotion can take
place (as is stated in the table showing the type promotion rules in the
introductory section of 6.2.)

Proposed text is as follows:

For op:unary-plus (6.2.7) replace the Summary with:

Summary: Backs up the unary "+" operator and returns its operand with the value
unchanged: (+ $arg). 

The returned value is equal to $arg, and is an instance of xs:integer,
xs:decimal, xs:double or xs:float depending on the type of $arg.

For op:unary-minus (6.2.8) replace the Summary with:

Summary: Backs up the unary "-" operator and returns its operand with the sign
reversed: (- $arg). 

The returned value is an instance of xs:integer, xs:decimal, xs:double or
xs:float depending on the type of $arg.

To the originator: please close this bug if you are content with this
resolution.
Received on Tuesday, 22 April 2008 17:26:38 UTC

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