- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 16 Jan 2007 12:42:35 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4231 ------- Comment #2 from tim@cbcl.co.uk 2007-01-16 12:42 ------- As I understand the term, underflow is the condition where a number is so close to zero that a particular representation has insufficient precision to record the number accurately. Therefore a test for this condition is as follows: (:*******************************************************:) (: Purpose: Test for possible underflow of xs:decimal literals :) (:*******************************************************:) 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000001 The expected result is 0.0 in the case of underflow, or the correctly returned number if the implementation's decimal representation has sufficient precision. For the test you gave, either err:FOAR0002 will be raised or the correctly returned number if the implementation's decimal representation has sufficient precision. 0.0 could never be returned (unless the implementation's decimal representation was _really_ imprecise).
Received on Tuesday, 16 January 2007 12:42:40 UTC