https://bugs.kde.org/show_bug.cgi?id=197915

p...@bezitopo.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@bezitopo.org

--- Comment #34 from p...@bezitopo.org ---
I just ran into this while debugging Bezitopo. I wrote the isTooCurly method
and found that it takes about 100 times as long when compiled by gcc as when
compiled by clang. So I ran it in Valgrind (callgrind) to see what's different.
It produced bizarre output. I debugged the code in Valgrind and found that the
line

precision=nextafterl(bigpart,2*bigpart)-bigpart;

in spiral.cpp produced 0 when bigpart is about 1e80. Dumping the variables
internal to the cornu function showed numbers like 3.33236731613775325228e+4605
(garbage), but it appears unable to compute a number bigger than about 5e307.

Versions:
valgrind-3.15.0
Linux puma 5.3.0-7625-generic #27~1576774560~19.10~f432cd8-Ubuntu SMP Thu Dec
19 20:35:37 UTC  x86_64 x86_64 x86_64 GNU/Linux
gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
clang version 9.0.0-2 (tags/RELEASE_900/final)
Eoan Ermine.

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

Reply via email to