diff options
author | Mike Buland <mike@xagasoft.com> | 2015-01-07 09:53:14 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2015-01-07 09:53:14 -0700 |
commit | e64cb84fe43660818f7d6eff2954147495b1ac8b (patch) | |
tree | 8e89978bc4a72677a8728d62eb850d81c9b92d46 /src/number.h | |
parent | 4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5 (diff) | |
download | clic-e64cb84fe43660818f7d6eff2954147495b1ac8b.tar.gz clic-e64cb84fe43660818f7d6eff2954147495b1ac8b.tar.bz2 clic-e64cb84fe43660818f7d6eff2954147495b1ac8b.tar.xz clic-e64cb84fe43660818f7d6eff2954147495b1ac8b.zip |
Fixed parsing bug, added unit tests, debug cleanup.0.12
There was an issue with order of operations outside of parenthesies,
easily solved.
Diffstat (limited to 'src/number.h')
-rw-r--r-- | src/number.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h index fe10788..2f7a583 100644 --- a/src/number.h +++ b/src/number.h | |||
@@ -49,6 +49,7 @@ public: | |||
49 | int getScale() const { return iScale; } | 49 | int getScale() const { return iScale; } |
50 | int getEffectiveScale() const; | 50 | int getEffectiveScale() const; |
51 | void setScale( int iNewScale ); | 51 | void setScale( int iNewScale ); |
52 | int getIntegralDigits() const { return aInt.getSize(); } | ||
52 | 53 | ||
53 | int32_t toInt32() const; | 54 | int32_t toInt32() const; |
54 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; | 55 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; |