summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2014-10-30 13:15:19 -0600
committerMike Buland <mike@xagasoft.com>2014-10-30 13:15:19 -0600
commit7026b96ec807b169f7b413056e52412ae422ea9d (patch)
tree9a597b31b8c7d6a8781b45d1bbf27c258bb6a3a4 /src/number.h
parent18a2be05bfacddcb7398f1b197bd1a5876c9a0cb (diff)
downloadclic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.gz
clic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.bz2
clic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.xz
clic-7026b96ec807b169f7b413056e52412ae422ea9d.zip
The new division works great!
Other minor bug fixes including scale issues, digit() access stopped a digit before the final possible digit in the scale, >, >=, <, <= all work correctly with mixed scale numbers now, probably other fixes.
Diffstat (limited to 'src/number.h')
-rw-r--r--src/number.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h
index 40dbd55..fe10788 100644
--- a/src/number.h
+++ b/src/number.h
@@ -47,6 +47,7 @@ public:
47 int digit( int iIdx ) const; 47 int digit( int iIdx ) const;
48 48
49 int getScale() const { return iScale; } 49 int getScale() const { return iScale; }
50 int getEffectiveScale() const;
50 void setScale( int iNewScale ); 51 void setScale( int iNewScale );
51 52
52 int32_t toInt32() const; 53 int32_t toInt32() const;