W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

[F&O] op:numeric-mod

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Fri, 21 Nov 2003 09:31:00 -0500
To: <public-qt-comments@w3.org>
Message-Id: <20031121143110.DF7911418D@dr-nick.w3.org>

The description of op:numeric-mod says:

"If $arg2 is zero, then an error is raised [division by zero]."

Shouldn't this say, 

If $arg2 is zero, and the operands are of type xs:integer or xs:decimal,
then an error is raised [division by zero]."

Because, as it says later, if they are float or double, it returns NaN
rather than raising an error.

Or is that sentence intended to be with the previous paragraph, which
appears to cover only the case where the operands are integer/decimal?  If
that's the case, maybe the sentence should be moved up to that paragraph.


Thanks,
Priscilla
Received on Friday, 21 November 2003 09:31:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:28 GMT