RE: Minus zero

> 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