summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-19 15:36:29 -0600
committerMike Buland <mike@xagasoft.com>2013-04-19 15:36:29 -0600
commit7260c36973fc0ad7ff24294ff5540d64bf32c334 (patch)
tree72e74744a789d4c1acedfa1afd1a07219cce9931 /src/number.h
parent9ad1a65f4dcbc31b031556803d27dc688a16ff4a (diff)
downloadclic-7260c36973fc0ad7ff24294ff5540d64bf32c334.tar.gz
clic-7260c36973fc0ad7ff24294ff5540d64bf32c334.tar.bz2
clic-7260c36973fc0ad7ff24294ff5540d64bf32c334.tar.xz
clic-7260c36973fc0ad7ff24294ff5540d64bf32c334.zip
Fractional divisoin works.
It doesn't round yet, and there's a chance I should be increasing the precision, right now it keeps the precision of the left hand side number.
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 c16dd55..3806300 100644
--- a/src/number.h
+++ b/src/number.h
@@ -32,6 +32,7 @@ public:
32 void set( const Number &sNum ); 32 void set( const Number &sNum );
33 33
34 void divide( const Number &rhs, Number &q, Number &r ) const; 34 void divide( const Number &rhs, Number &q, Number &r ) const;
35 bool isZero() const;
35 36
36 operator Bu::String() const 37 operator Bu::String() const
37 { 38 {