W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2004

RE: INF and NaN

From: Michael Kay <mhk@mhk.me.uk>
Date: Thu, 23 Sep 2004 16:44:52 +0100
To: 'Stéphane Mbaye' <stephane.mbaye@gael.fr>, "'XQuery'" <www-ql@w3.org>
Message-ID: <E1CAVmi-0006FD-GZ@frink.w3.org>
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

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?
Received on Thursday, 23 September 2004 15:45:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC