Bug 72890 - function dec2bin for big numbers produces wrong value -10000000000000000000000000000000
Summary: function dec2bin for big numbers produces wrong value -1000000000000000000000...
Status: RESOLVED DUPLICATE of bug 127599
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 15:21 UTC by Dietmar Frohböse
Modified: 2006-08-19 18:21 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 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 ***