[xquery-talk] Literal NaN

Michael Kay mike at saxonica.com
Mon Feb 28 22:15:27 PST 2011

> But you still can’t compare it to another NaN (and get true).

You can do deep-equal($x, xs:double('NaN')
>        Ok this works, but I’d still vote for a 
>         fn:isNaN()
I've no objection in principle, but the WG is predisposed not to accept
proposals for new functions if they could be easily written by a user.

Michael Kay

More information about the talk mailing list