Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-12-14 15:11:24


Author: hinnant
Date: 2007-12-14 15:11:23 EST (Fri, 14 Dec 2007)
New Revision: 42050
URL: http://svn.boost.org/trac/boost/changeset/42050

Log:
V1 issue 54.

Text files modified:
   sandbox/committee/LWG/issues.html | 2 +-
   sandbox/committee/LWG/thread_library.html | 24 ++++++++++++------------
   2 files changed, 13 insertions(+), 13 deletions(-)

Modified: sandbox/committee/LWG/issues.html
==============================================================================
--- sandbox/committee/LWG/issues.html (original)
+++ sandbox/committee/LWG/issues.html 2007-12-14 15:11:23 EST (Fri, 14 Dec 2007)
@@ -308,7 +308,7 @@
 <p>&#10004; 51. [time.microseconds] (31.3): see 50. </p>
 <p>&#10004; 52. [time.milliseconds] (31.4): see 50. </p>
 <p>&#10004; 53. [time.seconds] (31.5): see 50. </p>
-<p>54. [time.seconds] (31.5) and the rest: would it help to write those
+<p>&#9998; 54. [time.seconds] (31.5) and the rest: would it help to write those
 multipliers as factors of 1000? So, for example, seconds::nanoseconds()
 instead of returning count() * 1000000000 would return count() * 1000
 * 1000 *

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-14 15:11:23 EST (Fri, 14 Dec 2007)
@@ -3846,7 +3846,7 @@
 public:
     // <em>traits information</em>
     typedef <var><strong>implementation-defined</strong></var> tick_type;
- static const tick_type ticks_per_second = 1000000000;
+ static const tick_type ticks_per_second = 1000 * 1000 * 1000;
     static const tick_type seconds_per_tick = 0;
     static const bool is_subsecond = true;
 
@@ -3908,7 +3908,7 @@
 public:
     // <em>traits information</em>
     typedef <var><strong>implementation-defined</strong></var> tick_type;
- static const tick_type ticks_per_second = 1000000;
+ static const tick_type ticks_per_second = 1000 * 1000;
     static const tick_type seconds_per_tick = 0;
     static const bool is_subsecond = true;
 
@@ -4042,7 +4042,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 1000000</code>.
+<code>count() * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4138,7 +4138,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 1000000000</code>.
+<code>count() * 1000 * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4152,7 +4152,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 1000000</code>.
+<code>count() * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4249,7 +4249,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 60000000000</code>.
+<code>count() * 60 * 1000 * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4263,7 +4263,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 60000000</code>.
+<code>count() * 60 * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4277,7 +4277,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 60000</code>.
+<code>count() * 60 * 1000</code>.
 </dd>
 
 </dl>
@@ -4375,7 +4375,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 3600000000000</code>.
+<code>count() * 3600 * 1000 * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4389,7 +4389,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 3600000000</code>.
+<code>count() * 3600 * 1000 * 1000</code>.
 </dd>
 
 </dl>
@@ -4403,7 +4403,7 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>count() * 3600000</code>.
+<code>count() * 3600 * 1000</code>.
 </dd>
 
 </dl>
@@ -4468,7 +4468,7 @@
 
     // <em>traits</em>
     typedef <var><strong>implementation defined</strong></var> tick_type;
- static const tick_type ticks_per_second = 1000000000;
+ static const tick_type ticks_per_second = 1000 * 1000 * 1000;
     static const tick_type seconds_per_tick = 0;
     static const bool is_subsecond = true;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk