Package: galculator
Version: 1.3.4-1
Severity: important
Tags: upstream

Dear Maintainer,
when using the calculator in Formula Entry mode, the following
expressions are printed in red instead of being evaluated:

   0-0
   0!
   0^0 (should evaluate to the same value as 0.0^0.0)
   5^0
   0
   -0
   5+0
   5-0
   5*0
   0+5
   0-5
   0*5
   0/5
   sin(0)
   cos(0-5)
   tan(0)
   0m5
   sqrt(0)
   0<<5
   0>>5
   5<<0
   5>>0
   0%5
   5%0
   5&0
   0&5
   5|0
   0|5
   5x0
   5x5
   
and possibly others.


By contrast, the following expressions work as expected:

   -5       (is evaluated to -5)
   sin(0.0) (is evaluated to 0)
   5e0      (is evaluated to 5)
   0e5      (is evaluated to 0)
   0x5      (hexadecimal number 5, is evaluated to decimal 5)
   5&5      (is evaluated to 5)
   5|5      (is evaluated to 5)
   5m0      (is printed in red as division by zero is not defined)

The choice of '0x' as a prefix for hexadecimal numbers appears to be a 
bad one, as the string '0x' can also occur as part of a 
bitwise-exclusive-or operation.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages galculator depends on:
ii  libatk1.0-0    2.4.0-2
ii  libc6          2.13-30
ii  libcairo2      1.10.2-7
ii  libglade2-0    1:2.6.4-1
ii  libglib2.0-0   2.32.0-4
ii  libgtk2.0-0    2.24.10-1
ii  libpango1.0-0  1.29.4-3+b1
ii  libxml2        2.7.8.dfsg-9

galculator recommends no packages.

galculator suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to