diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-09 19:45:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-09 19:45:27 +0000 |
commit | f4f8ac034fa04404e2fcd5029ba050c537c07d7a (patch) | |
tree | 0daa81b0533ce203c33d5571dcb842257dba4cd0 /src/number.c | |
parent | 4488b6112c4e22493ed88c68035b980a5b42228d (diff) | |
download | abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.tar.gz abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.zip |
TQt4 port Abakus
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1231045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/number.c')
-rw-r--r-- | src/number.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/number.c b/src/number.c index 07aea62..72370fb 100644 --- a/src/number.c +++ b/src/number.c @@ -938,7 +938,7 @@ _one_mult (num, size, digit, result) /* The full division routine. This computes N1 / N2. It returns - 0 if the division is ok and the result is in QUOT. The number of + 0 if the division is ok and the result is in TQUOT. The number of digits after the decimal point is SCALE. It returns -1 if division by zero is tried. The algorithm is found in Knuth Vol 2. p237. */ @@ -1134,7 +1134,7 @@ bc_divide (n1, n2, quot, scale) /* Division *and* modulo for numbers. This computes both NUM1 / NUM2 and - NUM1 % NUM2 and puts the results in QUOT and REM, except that if QUOT + NUM1 % NUM2 and puts the results in TQUOT and REM, except that if TQUOT is NULL then that store will be omitted. */ |