summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-16 13:59:04 -0600
committerMike Buland <mike@xagasoft.com>2013-04-16 13:59:04 -0600
commit0e95be4d89b394315a969814a77e08ed358261d6 (patch)
tree2fcae97201c5387b7f4799f714f7988bf29a0ed4 /src/number.h
parent7bb55b03c393b5d00914d328a16d238d17f6aa0f (diff)
downloadclic-0e95be4d89b394315a969814a77e08ed358261d6.tar.gz
clic-0e95be4d89b394315a969814a77e08ed358261d6.tar.bz2
clic-0e95be4d89b394315a969814a77e08ed358261d6.tar.xz
clic-0e95be4d89b394315a969814a77e08ed358261d6.zip
The divide function is public now.
Diffstat (limited to 'src/number.h')
-rw-r--r--src/number.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/number.h b/src/number.h
index 9cb16b0..ee000a8 100644
--- a/src/number.h
+++ b/src/number.h
@@ -30,6 +30,8 @@ public:
30 30
31 void set( const Bu::String &sNum ); 31 void set( const Bu::String &sNum );
32 void set( const Number &sNum ); 32 void set( const Number &sNum );
33
34 void divide( const Number &rhs, Number &q, Number &r ) const;
33 35
34 operator Bu::String() const 36 operator Bu::String() const
35 { 37 {
@@ -42,7 +44,6 @@ public:
42 44
43private: 45private:
44 Number add( const Number &rhs, bool bSub ) const; 46 Number add( const Number &rhs, bool bSub ) const;
45 void divide( const Number &rhs, Number &q, Number &r ) const;
46 47
47private: 48private:
48 int iOrd; 49 int iOrd;