Bug 94265 - Wrong answer from mod with floats KCALC
Summary: Wrong answer from mod with floats KCALC
Status: RESOLVED DUPLICATE of bug 34765
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 1.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 07:59 UTC by thaper
Modified: 2005-01-30 01:45 UTC (History)
0 users

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 thaper 2004-12-02 07:59:26 UTC
Version:           1.6 (using KDE KDE 3.3.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.4 
OS:                Linux

I was trying RSA examples and...

8^17 mod 77 = 57 
so: 
57^53 mod 77 = 8 

(8 is the correct answer) and this works with other calcs.

Kcalc answers with 68... not 8

other examples of faulty mod ops w/ large numbers are true also.
Comment 1 John Tapsell 2005-01-30 01:45:28 UTC
*** This bug has been marked as a duplicate of 34765 ***