spec/Overview.html 1.1781 2611 make negative zero not negative to pleas

make negative zero not negative to please philip (whatwg r2611)

2.4.3.2 Signed integers
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1781.html#signed-integers
2.4.3.3 Real numbers
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1781.html#real-numbers
rules for parsing integers
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1781.html#rules-for-parsing-integers
rules for parsing floating point number values
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1781.html#rules-for-parsing-floating-point-number-values

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1780&r2=1.1781&f=h
http://html5.org/tools/web-apps-tracker?from=2610&to=2611

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1780
retrieving revision 1.1781
diff -u -d -r1.1780 -r1.1781
--- Overview.html 29 Dec 2008 12:58:43 -0000 1.1780
+++ Overview.html 29 Dec 2008 13:34:25 -0000 1.1781
@@ -1705,9 +1705,9 @@
   character.<p>A <a href=#valid-integer>valid integer</a> without a U+002D HYPHEN-MINUS ("-")
   prefix represents the number that is represented in base ten by that
   string of digits. A <a href=#valid-integer>valid integer</a> <em>with</em> a
-  U+002D HYPHEN-MINUS ("-") prefix represents the <em>negative</em>
-  number represented in base ten by the string of digits that follows
-  the U+002D HYPHEN-MINUS.<p>The <dfn id=rules-for-parsing-integers>rules for parsing integers</dfn> are similar to the
+  U+002D HYPHEN-MINUS ("-") prefix represents the number represented
+  in base ten by the string of digits that follows the U+002D
+  HYPHEN-MINUS, subtracted from zero.<p>The <dfn id=rules-for-parsing-integers>rules for parsing integers</dfn> are similar to the
   <a href=#rules-for-parsing-non-negative-integers title="rules for parsing non-negative integers">rules for
   non-negative integers</a>, and are as given in the following
   algorithm. When invoked, the steps must be followed in the order
@@ -1803,10 +1803,11 @@
   interpreted as base ten (including the decimal point and the number
   after the decimal point, if any, and interpreting the significand as
   a negative number if the whole string starts with a U+002D
-  HYPHEN-MINUS ("-") character), and where the exponent is the number
-  after the E, if any (interpreted as a negative number if there is a
-  U+002D HYPHEN-MINUS ("-") character between the E and the
-  number). If there is no E, then the exponent is treated as zero.<p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</dfn> are
+  HYPHEN-MINUS ("-") character and the number is not zero), and where
+  the exponent is the number after the E, if any (interpreted as a
+  negative number if there is a U+002D HYPHEN-MINUS ("-") character
+  between the E and the number and the number is not zero). If there
+  is no E, then the exponent is treated as zero.<p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</dfn> are
   as given in the following algorithm. As with the previous
   algorithms, when this one is invoked, the steps must be followed in
   the order given, aborting at the first step that returns

Received on Monday, 29 December 2008 13:37:46 UTC