W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2000

RE: Minus zero

From: Kay Michael <Michael.Kay@icl.com>
Date: Tue, 15 Feb 2000 15:29:56 -0000
Message-ID: <93CB64052F94D211BC5D0010A800133101FDEA4F@wwmess3.bra01.icl.co.uk>
To: "'James Clark'" <jjc@jclark.com>
Cc: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>, XSL WG <w3c-xsl-wg@w3.org>
> I interpret the spec as being silent on the semantics of unary minus;
> subtraction is a binary operation, and so I believe the 
> remark about the
> - operator is applicable only to the binary - operator.  Unary minus
> should do the obvious thing, ie negation, as it does in Java and
> JavaScript.  Thus -0 should be negative 0.

I shall interpret that as a definitive ruling on the matter and change Saxon
to conform.

Mike Kay
Received on Tuesday, 15 February 2000 10:31:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT