W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-FO-178-B: "truncating division" is too vague

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:41:08
Message-Id: <200402162241.i1GMf9G22682@rgmgw5.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 6.2.6 : op:numeric-mod

last bullet for xs:float and xs:double, it says "Division is 
truncating division, analogous to integer division, not
[IEEE 754-1985] rounding division."  But there is more than one
way to perform truncating division.  For example, 2.0/3.0
can be truncated to 0, 0.6, 0.66, 0.666, etc.  Judging by your
example, what you mean is "truncate to an integer after the 
division. 

- Steve B.
Received on Monday, 16 February 2004 17:41:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC