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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:13 UTC