W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2003

RE: ORA-FO-NEGATIVE-ZERO 6.1 Numeric Types

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 4 Aug 2003 14:53:12 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD016@daemsg02.software-ag.de>
To: Ashok Malhotra <ashokma@microsoft.com>, Stephen Buxton <stephen.buxton@oracle.com>, public-qt-comments@w3.org
As I think I mentioned before, the only way of distinguishing positive and
negative zero that I am aware of is division: 1 div 0e0 gt 0 is true, while
1 div -0e0 gt 0 is false.
 
Michael Kay
 
 
-----Original Message-----
From: Ashok Malhotra [mailto:ashokma@microsoft.com] 
Sent: 23 July 2003 13:46
To: Stephen Buxton; public-qt-comments@w3.org
Subject: RE: ORA-FO-NEGATIVE-ZERO 6.1 Numeric Types 



Positive and negative zero compare equal and cannot be distinguished in our
specification.

All the best, Ashok 


  _____  


From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Stephen Buxton
Sent: Monday, June 30, 2003 6:34 PM
To: public-qt-comments@w3.org
Subject: ORA-FO-NEGATIVE-ZERO 6.1 Numeric Types 

 

Functions and Operators, Section 6.1 Numeric Types 


Are there any operations that distinguish a -0 from a +0 ? 
Or is the distinction only apparent on serialization ?
Received on Monday, 4 August 2003 09:21:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:13 UTC