Disjointness of Double and Float and Decimal

Double, Float, and Decimal are both primitive XSD types.
	http://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes

All primitive XSD types are disjoint:
	http://www.w3.org/TR/xmlschema-2/#equal
"""the ˇvalue spaceˇs of all ˇprimitiveˇ datatypes are disjoint (they  
do not share any values)"""

Ergo, Double, Float, and Decimal (and thus integer) are disjoint.

Decimal is similar to double and float in being non-exact, which is  
why we want a separate real datatype (with rational constants).

Cheers,
Bijan.

Received on Wednesday, 2 July 2008 18:09:54 UTC