summaryrefslogtreecommitdiff
path: root/src/packedintarray.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-16 13:57:57 -0600
committerMike Buland <mike@xagasoft.com>2013-04-16 13:57:57 -0600
commit7bb55b03c393b5d00914d328a16d238d17f6aa0f (patch)
tree4d9a0547b105e1867f8118f2f00548e1e05589ad /src/packedintarray.h
parent25989c6d3911b1d29a5866e668bff52537893afb (diff)
downloadclic-7bb55b03c393b5d00914d328a16d238d17f6aa0f.tar.gz
clic-7bb55b03c393b5d00914d328a16d238d17f6aa0f.tar.bz2
clic-7bb55b03c393b5d00914d328a16d238d17f6aa0f.tar.xz
clic-7bb55b03c393b5d00914d328a16d238d17f6aa0f.zip
Added /, %, and = operators.
Division now works just fine, but by long division. There are apparently much faster ways of doing division, but as long as it works I feel like that's a great start :)
Diffstat (limited to '')
-rw-r--r--src/packedintarray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/packedintarray.h b/src/packedintarray.h
index a865df5..de26a6a 100644
--- a/src/packedintarray.h
+++ b/src/packedintarray.h
@@ -20,6 +20,8 @@ public:
20 void set( int idx, Unit i ); 20 void set( int idx, Unit i );
21 int getSize() const { return iCount; } 21 int getSize() const { return iCount; }
22 void set( const PackedIntArray &rSrc, int iStart, int iSize ); 22 void set( const PackedIntArray &rSrc, int iStart, int iSize );
23 void set( const PackedIntArray &rSrc );
24 void trim();
23 25
24 Bu::String toBitString() const; 26 Bu::String toBitString() const;
25 Bu::String toString() const; 27 Bu::String toString() const;