Public bug reported:

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)
NonfreeKernelModules: nvidia
Package: gcalctool 5.28.1-0ubuntu1
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-genusername
SourcePackage: gcalctool
Uname: Linux 2.6.31-16-generic i686
XsessionErrors:
 (gnome-settings-daemon:1912): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (nautilus:2001): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:2025): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-panel:2000): Gdk-WARNING **: 
/build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a 
pixmap or window
 (gnome-panel:2000): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to 
allocate widget with width -4 and height 24

** Affects: gcalctool (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
bitwise operation with value 0 fails with "Invalid bitwise operation"
https://bugs.launchpad.net/bugs/496235
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to