summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/number.h')
-rw-r--r--src/number.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h
index 8077fe0..2abf0e1 100644
--- a/src/number.h
+++ b/src/number.h
@@ -31,6 +31,7 @@ public:
31 31
32 void set( const Bu::String &sNum ); 32 void set( const Bu::String &sNum );
33 void set( const Number &sNum ); 33 void set( const Number &sNum );
34 void set( int32_t iNum );
34 35
35 void divide( const Number &rhs, Number &q, Number &r ) const; 36 void divide( const Number &rhs, Number &q, Number &r ) const;
36 bool isZero() const; 37 bool isZero() const;
@@ -48,6 +49,7 @@ public:
48 void setScale( int iNewScale ); 49 void setScale( int iNewScale );
49 50
50 int32_t toInt32() const; 51 int32_t toInt32() const;
52 Number toRadix( int iNewRadix, int iNewScale=-1 ) const;
51 53
52private: 54private:
53 Number add( const Number &rhs, bool bSub ) const; 55 Number add( const Number &rhs, bool bSub ) const;