html5/spec Overview.html,1.1780,1.1781

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28303

Modified Files:
	Overview.html 
Log Message:
make negative zero not negative to please philip (whatwg r2611)

Index: Overview.html
===================================================================
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:34:38 UTC