summaryrefslogtreecommitdiff
path: root/src/number.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-05-10 09:28:46 -0600
committerMike Buland <mike@xagasoft.com>2013-05-10 09:28:46 -0600
commitca9956381009cbe2d36ea8516d51516f7c49b9d3 (patch)
treee2dd13683057c16465be054862cdd91fee1bca2a /src/number.cpp
parentdc0139c1880d1500b3e275b09781116613862f5f (diff)
downloadclic-ca9956381009cbe2d36ea8516d51516f7c49b9d3.tar.gz
clic-ca9956381009cbe2d36ea8516d51516f7c49b9d3.tar.bz2
clic-ca9956381009cbe2d36ea8516d51516f7c49b9d3.tar.xz
clic-ca9956381009cbe2d36ea8516d51516f7c49b9d3.zip
Added more helpers to Number.0.07
Diffstat (limited to 'src/number.cpp')
-rw-r--r--src/number.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/number.cpp b/src/number.cpp
index cda829e..1b0efdc 100644
--- a/src/number.cpp
+++ b/src/number.cpp
@@ -45,6 +45,12 @@ Number &Number::operator=( const Number &rhs )
45 return *this; 45 return *this;
46} 46}
47 47
48Number &Number::operator=( const int32_t iNum )
49{
50 set( iNum );
51 return *this;
52}
53
48Number Number::operator+( const Number &rhs ) const 54Number Number::operator+( const Number &rhs ) const
49{ 55{
50 return add( rhs, false ); 56 return add( rhs, false );