Bug 152713 - kcalc doesn't display results
Summary: kcalc doesn't display results
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 15:51 UTC by FiNeX
Modified: 2007-12-10 18:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FiNeX 2007-11-22 15:51:33 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The display of the calc doesn't work well. It returns ever "0" except on the square root, but only if the results have decimals.
I've done some tests:

2+14 -> 0   (it should be 16)
square root -> 0   (it should be 4)
square root -> 0   (it should be 2)
square root -> 1,41421356237   (right)

254+2 -> 0   (it should be 256)
square root -> 0   (it should be 16)
square root -> 0   (it should be 4)
square root -> 0   (it should be 2)
square root -> 1,41421356237   (right)

1+1 -> 0   (it should be 2)
square root -> 1,41421356237   (right)

1+2 -> 0   (it should be 3)
square root -> 1,73205080757   (right)
+1 -> 2,73205080757   (right)

Tested on revision 739996
Comment 1 Richard Moore 2007-11-26 00:45:40 UTC
I have tested all these in trunk and they are not reproducable.
Comment 2 Dirk Mueller 2007-11-26 18:12:59 UTC
are you using x86 or x86_64 ?
Comment 3 András Manţia 2007-11-26 21:53:12 UTC
Checked on x86_64, works fine.
Comment 4 Albert Astals Cid 2007-11-26 22:33:31 UTC
on x86_64 fails here
Comment 5 FiNeX 2007-11-27 00:45:47 UTC
I'm on x86.
Comment 6 Thomas Zander 2007-11-27 14:27:41 UTC
on x86_64 (gutsy) works fine.
Comment 7 Albert Astals Cid 2007-11-27 20:08:57 UTC
I'm on gutsy here too and still does not work.
Comment 8 FiNeX 2007-12-10 17:07:46 UTC
r746468 fixed the problem, in both 64 and 32 bit systems.

Please set this bug as FIXED :-)

Yuhuuuuuuu! :-)
Comment 9 Bram Schoenmakers 2007-12-10 18:12:50 UTC
Marking as fixed per request.