RE: INF and NaN
"Michael Kay" <[email protected]> Thu, 23 Sep 2004 16:44:52 +0100
| Newsgroups | gmane.comp.web.query-languages |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] [mailto:[email protected]] 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