RE: INF and NaN

These are conventional names of the values infinity, minus infinity, and
not-a-number which are defined in the value space of xs:float and xs:double.
They are not constants in the language, and must be constructed using
expressions such as xs:float("INF").
 
Michael Kay

  _____  

From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf Of
Stéphane Mbaye
Sent: 23 September 2004 16:34
To: XQuery
Subject: INF and NaN


Hi,
 
the « Functions an Operators » specifications frequently refer to INF and
NaN such as they were predefined constants of the language. However, they
are apparently not part of the XQuery or XPath grammars. Is “fn:round(INF)”
a correct syntax such as presented in the specs?
 
Regards
Stephane

Received on Thursday, 23 September 2004 15:45:28 UTC