diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-16 13:59:04 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-16 13:59:04 -0600 |
commit | 0e95be4d89b394315a969814a77e08ed358261d6 (patch) | |
tree | 2fcae97201c5387b7f4799f714f7988bf29a0ed4 /src | |
parent | 7bb55b03c393b5d00914d328a16d238d17f6aa0f (diff) | |
download | clic-0e95be4d89b394315a969814a77e08ed358261d6.tar.gz clic-0e95be4d89b394315a969814a77e08ed358261d6.tar.bz2 clic-0e95be4d89b394315a969814a77e08ed358261d6.tar.xz clic-0e95be4d89b394315a969814a77e08ed358261d6.zip |
The divide function is public now.
Diffstat (limited to '')
-rw-r--r-- | src/number.h | 3 |
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 | ||
43 | private: | 45 | private: |
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 | ||
47 | private: | 48 | private: |
48 | int iOrd; | 49 | int iOrd; |