- From: Ashok Malhotra <ashokma@microsoft.com>
- Date: Fri, 21 Nov 2003 15:30:17 -0800
- To: "Priscilla Walmsley" <priscilla@walmsley.com>, <public-qt-comments@w3.org>
Needed some words. Fixed! All the best, Ashok -----Original Message----- From: public-qt-comments-request@w3.org [mailto:public-qt-comments-request@w3.org] On Behalf Of Priscilla Walmsley Sent: Friday, November 21, 2003 6:31 AM To: public-qt-comments@w3.org Subject: [F&O] op:numeric-mod 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 18:32:08 UTC