This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2098 - R-108: Clarification requested re: rounding of floats
Summary: R-108: Clarification requested re: rounding of floats
Status: ASSIGNED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: needsAgreement
Depends on:
Blocks:
 
Reported: 2005-09-09 14:37 UTC by Sandy Gao
Modified: 2007-03-29 18:48 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 14:37:23 UTC
The XML Schema spec should specify clearly the range of numbers representable 
by the float type, and make explicit when numbers round to the largest finite 
value and when they round to infinity.

See the following for more information, and a summary of Dave Peterson's answer 
to the first question:

http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0245.html
Comment 2 Dave Peterson 2005-11-15 01:39:50 UTC
(In reply to comment #0)
> The XML Schema spec should specify clearly the range of numbers representable 
> by the float type, and make explicit when numbers round to the largest finite 
> value and when they round to infinity.

I believe that in 1.1 the range is clearly specified, and the rounding is correctly
delt with in the sample lexical mapping, so this can be closed for 1.1 when the
float/double proposal is finally blessed.

> See the following for more information, and a summary of Dave Peterson's answer 
> to the first question:

More recent answer (to both questions) may be found in:

http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Nov/0023.html
Comment 3 C. M. Sperberg-McQueen 2005-12-09 20:49:44 UTC
The WG agreed on 9 December 2005 to mark this issue as 1.0 only,
since (as mentioned in comment 2) the treatment of float and
double in 1.1 does answer the question.  We also agreed that the
question should be clarified in 1.0 as well, so the status of
this issue has been changed from unclassified to needsAgreement.