W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2008

html5/spec Overview.html,1.1780,1.1781

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 29 Dec 2008 13:34:28 +0000
To: public-html-commits@w3.org
Message-Id: <E1LHIGK-0007Mn-5q@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 December 2008 13:34:38 GMT