diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-03 19:13:53 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-03 19:13:53 +0000 |
commit | ae155dfccdebcb5b66232acc0fc83ac075809765 (patch) | |
tree | 84a9e56b2446e2e987868c74a929305e30b9c6c8 /math/libqalculate/files/patch-libqalculate-Number.cc | |
parent | Disable the use of Jikes when using Java 1.5 because the current stable version (diff) |
- Update to 0.8.2
- Fix build with latest cln
Submitted by: maintainer
Diffstat (limited to '')
-rw-r--r-- | math/libqalculate/files/patch-libqalculate-Number.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/math/libqalculate/files/patch-libqalculate-Number.cc b/math/libqalculate/files/patch-libqalculate-Number.cc new file mode 100644 index 000000000000..c179a9ee8938 --- /dev/null +++ b/math/libqalculate/files/patch-libqalculate-Number.cc @@ -0,0 +1,29 @@ +--- libqalculate/Number.cc.orig Thu Nov 3 18:27:14 2005 ++++ libqalculate/Number.cc Thu Nov 3 18:28:15 2005 +@@ -2389,7 +2389,7 @@ + if(po.indicate_infinite_series && !infinite_series) { + remainders.push_back(remainder); + } +- remainder *= base; ++ remainder = remainder * base; + div = cln::truncate2(remainder, d); + remainder2 = div.remainder; + remainder = div.quotient; +@@ -2398,7 +2398,7 @@ + started = !cln::zerop(remainder); + } + if(started) { +- num *= base; ++ num = num * base; + num += remainder; + } + l10++; +@@ -2417,7 +2417,7 @@ + } + remainders.clear(); + if(!exact && !infinite_series) { +- remainder *= base; ++ remainder = remainder * base; + div = cln::truncate2(remainder, d); + remainder2 = div.remainder; + remainder = div.quotient; |