DR 09-0231: SML, core: Raw value range

Shawn Villaron shawnv at microsoft.com
Sat Jun 6 01:40:01 CEST 2009


Here is my proposed response for this defect report:

DR 09-0231- SML, core: Raw value range
Part 1, §18.17.5.4 will be updated as follows:
18.17.5.4        Interpretation
Strings that are permitted according to the lexical definition in §18.17.5.3 shall be interpreted as values in the value space as follows:

1.       The mantissa shall be interpreted as a real number expressed in base 10

1.       The exponent shall be interpreted as an integer expressed in base 10

2.       The raw value for a numerical expression shall be interpreted as
mantissa x 10exponent

3.       If the raw absolute value is larger than the largest value in the value space (2^10231024 - 12^971, by default), or smaller than the smallest value in the value space (- 2^1023 + 1, by default), then a consuming application shall treat this as equivalent to the error value #NUM! (§18.17.3). Otherwise the value in the value space that is closest to the raw value is chosen as the interpretation.  In the case that two values are equally close, the one with the smaller absolute value is chosen.
No schema changes are needed.

No Relax NG changes are needed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20090605/755f5bdc/attachment.htm>


More information about the sc34wg4 mailing list