Bug 128684 - KCalc gives wrong results
Summary: KCalc gives wrong results
Status: RESOLVED WORKSFORME
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 14:58 UTC by Martin Mokry
Modified: 2006-09-17 13:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokry 2006-06-05 14:58:58 UTC
Version:           2.0.2 (using KDE 3.5.2, Gentoo)
Compiler:          gcc version 3.4.6 (Gentoo 3.4.6, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (x86_64) release 2.6.16-gentoo-r6-mr1

KCalc makes wrong conversions beetween decimal/hexadecimal/octal/binary numbers.

Example: 
  
458907203866 ==> HEX (kcalc) 0xD4D900391A
458907203866 ==> HEX (google) 0x6AD900391A

And when I try to paste "D4D900391A" in kcalc, it will show "1A8D900391A" right after pasting.

I tried it several times to exclude my mistake. It's working bad with octal and binary numbers too.
Comment 1 Thiago Macieira 2006-06-11 01:26:20 UTC
Works fine for me...
Comment 2 Klaus Niederkrüger 2006-07-21 10:23:23 UTC
I cannot reproduce it. Could there be a conversion problem on 64-bit CPUS?
Comment 3 Klaus Niederkrüger 2006-09-17 13:22:04 UTC
I will close this now. I hope the bug just magically disappeared. In any case, I'm still not able to reproduce it.

Klaus