[kcalc] [Bug 407318] Finish MPFR support

2019-06-23 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=407318

Christoph Feck  changed:

   What|Removed |Added

   Version Fixed In||19.08.0
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/kca
   ||lc/2a05545830fdc9a2fe6a1d24
   ||9d9eff52c53b7d1f
 Resolution|--- |FIXED

--- Comment #7 from Christoph Feck  ---
Git commit 2a05545830fdc9a2fe6a1d249d9eff52c53b7d1f by Christoph Feck, on
behalf of Marcelo Mariano.
Committed on 23/06/2019 at 10:21.
Pushed by cfeck into branch 'master'.

Use MPFR in knumber_float in order to improve floating-point precision
Related: bug 132158, bug 148357
FIXED-IN: 19.08.0

Differential Revision: https://phabricator.kde.org/D21495

M  +8-0CMakeLists.txt
M  +2-2knumber/knumber.cpp
M  +0-3knumber/knumber_base.h
M  +80   -415  knumber/knumber_float.cpp
M  +14   -8knumber/knumber_float.h
M  +8-1knumber/knumber_integer.cpp
M  +3-2knumber/tests/CMakeLists.txt

https://commits.kde.org/kcalc/2a05545830fdc9a2fe6a1d249d9eff52c53b7d1f

-- 
You are receiving this mail because:
You are watching all bug changes.

[kcalc] [Bug 407318] Finish MPFR support

2019-06-04 Thread Marcelo Mariano
https://bugs.kde.org/show_bug.cgi?id=407318

Marcelo Mariano  changed:

   What|Removed |Added

 CC||marcelo.hs.mari...@gmail.co
   ||m

--- Comment #6 from Marcelo Mariano  ---
Add review request https://phabricator.kde.org/D21495.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kcalc] [Bug 407318] Finish MPFR support

2019-05-21 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=407318

--- Comment #5 from Evan Teran  ---
I wrote the knumber library that wraps gmp in kcalc. It is definitely in need
of some modernization and perhaps arblib is worth looking into as a replacement
for it's big number capabilities.

I'll look into it!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kcalc] [Bug 407318] Finish MPFR support

2019-05-21 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=407318

--- Comment #4 from Aaron Williams  ---
My coworker suggests using libarb instead of libgmp since libgmp cannot
guarantee precision. See http://arblib.org

He ran into the same issue when he developed his calculator app using libgmp as
I ran into with KCalc and he switched to libarb to solve that problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kcalc] [Bug 407318] Finish MPFR support

2019-05-21 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=407318

--- Comment #3 from Aaron Williams  ---
ldd /usr/bin/kcalc | grep mp
libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x7fb0a9875000)
libKF5Completion.so.5 => /usr/lib64/libKF5Completion.so.5
(0x7fb0a09dc000)

This is the version supplied by OpenSUSE in their latest up-to-date repository
(not the standard repository).

According to a friend of mine who developed his own calculator, he says that
libgmp has a lot of accuracy bugs so he is using a different library.  I can
find out which one he uses.  His calculator did give the correct answer.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kcalc] [Bug 407318] Finish MPFR support

2019-05-21 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=407318

Christoph Feck  changed:

   What|Removed |Added

 Status|NEEDSINFO   |CONFIRMED
   Severity|normal  |task
 CC||cf...@kde.org
 Ever confirmed|0   |1
Summary|Precision is wrong  |Finish MPFR support
 Resolution|WAITINGFORINFO  |---

--- Comment #2 from Christoph Feck  ---
Never mind; MPFR support was disabled with
https://commits.kde.org/kcalc/9e1dd53d4cda09d2d395dbd5caa9f403d36c9b03

-- 
You are receiving this mail because:
You are watching all bug changes.