diff options
author | Mike Buland <eichlan@xagasoft.com> | 2015-01-29 08:56:43 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2015-01-29 08:56:43 -0700 |
commit | 14419813582bc89334d2e9d5bdd74b5852bfc9f9 (patch) | |
tree | 9b6dff56e27d485652dfd019391aef4845ff01c1 /src/number.h | |
parent | 42e77eb7ba24d2b7ebd47fadbc9240dc4520a5d6 (diff) | |
parent | f03026f5c2cde1eecfda273eaa52df10287f0f9e (diff) | |
download | clic-14419813582bc89334d2e9d5bdd74b5852bfc9f9.tar.gz clic-14419813582bc89334d2e9d5bdd74b5852bfc9f9.tar.bz2 clic-14419813582bc89334d2e9d5bdd74b5852bfc9f9.tar.xz clic-14419813582bc89334d2e9d5bdd74b5852bfc9f9.zip |
Merge branch 'master' of /home/eichlan/git/clic
Diffstat (limited to '')
-rw-r--r-- | src/number.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h index fe10788..79cd5f5 100644 --- a/src/number.h +++ b/src/number.h | |||
@@ -45,10 +45,12 @@ public: | |||
45 | Bu::String toString() const; | 45 | Bu::String toString() const; |
46 | 46 | ||
47 | int digit( int iIdx ) const; | 47 | int digit( int iIdx ) const; |
48 | void setDigit( int iIdx, int iVal ); | ||
48 | 49 | ||
49 | int getScale() const { return iScale; } | 50 | int getScale() const { return iScale; } |
50 | int getEffectiveScale() const; | 51 | int getEffectiveScale() const; |
51 | void setScale( int iNewScale ); | 52 | void setScale( int iNewScale ); |
53 | int getIntegralDigits() const { return aInt.getSize(); } | ||
52 | 54 | ||
53 | int32_t toInt32() const; | 55 | int32_t toInt32() const; |
54 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; | 56 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; |