Bug 128684

Summary: KCalc gives wrong results
Product: [Applications] kcalc Reporter: Martin Mokry <megacsk>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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