diff options
Diffstat (limited to 'src/number.h')
-rw-r--r-- | src/number.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h index 1489623..7d65096 100644 --- a/src/number.h +++ b/src/number.h | |||
@@ -12,9 +12,19 @@ public: | |||
12 | virtual ~Number(); | 12 | virtual ~Number(); |
13 | 13 | ||
14 | Number &operator=( const Bu::String &sNum ); | 14 | Number &operator=( const Bu::String &sNum ); |
15 | |||
15 | Number operator+( const Number &rhs ) const; | 16 | Number operator+( const Number &rhs ) const; |
16 | Number operator-( const Number &rhs ) const; | 17 | Number operator-( const Number &rhs ) const; |
17 | Number operator*( const Number &rhs ) const; | 18 | Number operator*( const Number &rhs ) const; |
19 | Number operator/( const Number &rhs ) const; | ||
20 | Number operator-() const; | ||
21 | |||
22 | bool operator==( const Number &rhs ) const; | ||
23 | bool operator!=( const Number &rhs ) const; | ||
24 | bool operator>( const Number &rhs ) const; | ||
25 | bool operator<( const Number &rhs ) const; | ||
26 | bool operator>=( const Number &rhs ) const; | ||
27 | bool operator<=( const Number &rhs ) const; | ||
18 | 28 | ||
19 | void set( const Bu::String &sNum ); | 29 | void set( const Bu::String &sNum ); |
20 | 30 | ||