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

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