W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

RE: float and double ordered facet value, error in 2E PER

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Mon, 3 May 2004 08:52:18 -0700
Message-ID: <EDB607C8AC991F40BE646533A1A673E801FB00DE@RED-MSG-42.redmond.corp.microsoft.com>
To: "Dave Peterson" <davep@iit.edu>, <www-xml-schema-comments@w3.org>
Here's how I see this issue:

- IEEE-754 says NaN is unordered WRT all other numbers including itself.
- XML Schema says NaN = NaN
- F&O says that the result of comparing NaN with any other value is
'false'. This is an attempt to mimic the IEEE-754 semantic without going
into partial order.  I recommend Schema do the same.

All the best, Ashok
-----Original Message-----
From: www-xml-schema-comments-request@w3.org
[mailto:www-xml-schema-comments-request@w3.org] On Behalf Of Dave
Sent: Monday, May 03, 2004 8:31 AM
To: www-xml-schema-comments@w3.org
Subject: float and double ordered facet value, error in 2E PER

I had understood that the ordered facet value for float and double in
was to be changed from total to partial.  This correction does not show
in the undiffed version out for comment.

In point of fact, float and double are partially ordered.  This is
NaN compares only to itself.  E.g.,  29 <> NaN .
Dave Peterson

Received on Monday, 3 May 2004 11:52:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:02 UTC