Skip to content

Commit

Permalink
Add automatic and dual approximation and fraction improvements/fixes;…
Browse files Browse the repository at this point in the history
… Add automatic and dual approximation and fraction options to Calculator::calculateAndPrint(); Fix segfault in isolate x; Update exchange rates; Increment libtool versioning; Update version in functions.xml;
  • Loading branch information
hanna-kn committed Nov 17, 2020
1 parent aa3d391 commit 4404b82
Show file tree
Hide file tree
Showing 11 changed files with 882 additions and 631 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-11-16 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Add automatic and dual approximation and fraction options to Calculator::calculateAndPrint()

2020-11-08 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Fix segfault in Calculator::convertTimeOut(), and potentially Calculator::calculateRPN() (fixes conversion in the unit manager in qalculate-gtk)
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ AC_DEFINE([HAVE_PTHREADS],1,
dnl libtool versioning for libqalculate

dnl increment if the interface has additions, changes, removals.
QALCULATE_CURRENT=30
QALCULATE_CURRENT=31

dnl increment any time the source changes; set to
dnl 0 if you increment CURRENT
QALCULATE_REVISION=4
QALCULATE_REVISION=0

dnl increment if any interfaces have been added; set to 0
dnl if any interfaces have been removed. removal has
dnl precedence over adding, so set to 0 if both happened.
QALCULATE_AGE=9
QALCULATE_AGE=10

AC_SUBST(QALCULATE_CURRENT)
AC_SUBST(QALCULATE_REVISION)
Expand Down
64 changes: 32 additions & 32 deletions data/eurofxref-daily.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,39 @@
<gesmes:name>European Central Bank</gesmes:name>
</gesmes:Sender>
<Cube>
<Cube time='2020-10-19'>
<Cube currency='USD' rate='1.1785'/>
<Cube currency='JPY' rate='124.11'/>
<Cube time='2020-11-16'>
<Cube currency='USD' rate='1.1830'/>
<Cube currency='JPY' rate='124.15'/>
<Cube currency='BGN' rate='1.9558'/>
<Cube currency='CZK' rate='27.346'/>
<Cube currency='DKK' rate='7.4410'/>
<Cube currency='GBP' rate='0.90588'/>
<Cube currency='HUF' rate='365.05'/>
<Cube currency='PLN' rate='4.5723'/>
<Cube currency='RON' rate='4.8768'/>
<Cube currency='SEK' rate='10.3578'/>
<Cube currency='CHF' rate='1.0724'/>
<Cube currency='ISK' rate='163.40'/>
<Cube currency='NOK' rate='10.9470'/>
<Cube currency='HRK' rate='7.5825'/>
<Cube currency='RUB' rate='91.4401'/>
<Cube currency='TRY' rate='9.3057'/>
<Cube currency='AUD' rate='1.6575'/>
<Cube currency='BRL' rate='6.6139'/>
<Cube currency='CAD' rate='1.5523'/>
<Cube currency='CNY' rate='7.8767'/>
<Cube currency='HKD' rate='9.1334'/>
<Cube currency='IDR' rate='17347.64'/>
<Cube currency='ILS' rate='3.9836'/>
<Cube currency='INR' rate='86.3945'/>
<Cube currency='KRW' rate='1341.33'/>
<Cube currency='MXN' rate='24.8118'/>
<Cube currency='MYR' rate='4.8819'/>
<Cube currency='NZD' rate='1.7751'/>
<Cube currency='PHP' rate='57.231'/>
<Cube currency='SGD' rate='1.5990'/>
<Cube currency='THB' rate='36.746'/>
<Cube currency='ZAR' rate='19.3806'/>
<Cube currency='CZK' rate='26.353'/>
<Cube currency='DKK' rate='7.4480'/>
<Cube currency='GBP' rate='0.89819'/>
<Cube currency='HUF' rate='358.16'/>
<Cube currency='PLN' rate='4.4692'/>
<Cube currency='RON' rate='4.8728'/>
<Cube currency='SEK' rate='10.2538'/>
<Cube currency='CHF' rate='1.0819'/>
<Cube currency='ISK' rate='161.30'/>
<Cube currency='NOK' rate='10.7310'/>
<Cube currency='HRK' rate='7.5670'/>
<Cube currency='RUB' rate='90.5157'/>
<Cube currency='TRY' rate='9.1749'/>
<Cube currency='AUD' rate='1.6226'/>
<Cube currency='BRL' rate='6.3930'/>
<Cube currency='CAD' rate='1.5476'/>
<Cube currency='CNY' rate='7.7945'/>
<Cube currency='HKD' rate='9.1725'/>
<Cube currency='IDR' rate='16680.89'/>
<Cube currency='ILS' rate='3.9733'/>
<Cube currency='INR' rate='88.0795'/>
<Cube currency='KRW' rate='1310.50'/>
<Cube currency='MXN' rate='23.9849'/>
<Cube currency='MYR' rate='4.8710'/>
<Cube currency='NZD' rate='1.7227'/>
<Cube currency='PHP' rate='56.983'/>
<Cube currency='SGD' rate='1.5934'/>
<Cube currency='THB' rate='35.750'/>
<Cube currency='ZAR' rate='18.2346'/>
</Cube>
</Cube>
</gesmes:Envelope>
2 changes: 1 addition & 1 deletion data/functions.xml.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<QALCULATE version="3.12.1">
<QALCULATE version="3.15.0">
<category>
<_title>Matrices &amp; Vectors</_title>
<builtin_function name="vector">
Expand Down
Loading

0 comments on commit 4404b82

Please sign in to comment.