Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62437 - sandbox/SOC/2010/bits_and_ints/boost/integer
From: muriloufg_at_[hidden]
Date: 2010-06-04 19:32:33


Author: murilov
Date: 2010-06-04 19:32:33 EDT (Fri, 04 Jun 2010)
New Revision: 62437
URL: http://svn.boost.org/trac/boost/changeset/62437

Log:
More comments
Text files modified:
   sandbox/SOC/2010/bits_and_ints/boost/integer/sign.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2010/bits_and_ints/boost/integer/sign.hpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/boost/integer/sign.hpp (original)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/sign.hpp 2010-06-04 19:32:33 EDT (Fri, 04 Jun 2010)
@@ -18,6 +18,13 @@
 namespace boost
 {
 
+/*
+ * sign(data) returns:
+ * -1 - if data is less than 0
+ * 0 - if data is equal to 0
+ * 1 - if data is greater than 0
+ */
+
 
 /*
  * If T is the type of data and T is a signed type,


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