GNOME Bugzilla – Bug 579849
Left/right shifting returns an incorrect value
Last modified: 2009-04-23 03:40:58 UTC
Please describe the problem: Trying to left shifting 10 places the binary number 1 should give 10000000000 in binary mode (1024 in decimal). The calculator returns 10100 in binary (20 in decimal) Steps to reproduce: 1. Switch to binary mode 2. Type 1 3. Shift left 10 places the displayed value Actual results: The calculator returns the binary number 10100 Expected results: The calculator should have returned the binary number 10000000000 = 2^10 (in decimal) Does this happen every time? yes Other information: Right shifting returns also bad values. This was not happening on Fedora 7. I am using the Gcalctool provided with Fedora 10.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of 569176 ***