Bug 72890

Summary: function dec2bin for big numbers produces wrong value -10000000000000000000000000000000
Product: [Applications] calligrasheets Reporter: Dietmar Frohböse <dietmar.frohboese>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dietmar Frohböse 2004-01-18 15:21:50 UTC
Version:           1.2.1 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.6.1

numbers bigger than 2^32 - 1 seems to produce constant value -10000000000000000000000000000000

e.g. =dec2bin(2147483648) or =dec2bin(3221225472)

please extend the function at least to 64 unsinged integer and than may report an error

thanks

Dietmar
Comment 1 Sebastian Sauer 2006-08-19 18:21:20 UTC

*** This bug has been marked as a duplicate of 127599 ***