bitwise operation with value 0 fails with "Invalid bitwise operation"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcalctool (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: gcalctool
In programming mode:
Bitwise operations AND/OR/XOR all fail with "Invalid bitwise operation" if one of the operands is 0
XNOR exhibits the following behavior using decimal and 16 bit operand:
1 XNOR 0 returns 65534
0 XNOR 1 returns "Invalid bitwise operation"
This appears to be the case regardless of base used or operand size
Haven't tested the NOT operator
ProblemType: Bug
Architecture: i386
Date: Sun Dec 13 11:17:27 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gcalctool
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: gcalctool 5.28.1-0ubuntu1
ProcEnviron:
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gcalctool
Uname: Linux 2.6.31-16-generic i686
XsessionErrors:
(gnome-
(nautilus:2001): Eel-CRITICAL **: eel_preferences
(polkit-
(gnome-
(gnome-
Changed in gcalctool (Ubuntu): | |
importance: | Undecided → Low |
Fixed in 5.29.91 (Ubuntu 10.04 Lucid). Thanks for your bug report