← Back to team overview

desktop-packages team mailing list archive

[Bug 778997] Re: Malformed result expressions shown when working with complex numbers

 

Thanks for taking the time to report this bug. I have tried to reproduce
this on Natty with the latest updates installed, with the same version
of gcalctool ( 6.0.1~git20110421-0ubuntu1), but 5+8i+i shows 5+9i as a
result, as expected, and I could not reproduce the issue you have
reported. Could you please try to reproduce it again, and if you are
able, please give more detailed instructions on how to reproduce, and
maybe a screenshot too. Also note that I have tried both the command
line interface and the gnome interface, but both show correct results.

** Changed in: gcalctool (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gcalctool in Ubuntu.
https://bugs.launchpad.net/bugs/778997

Title:
  Malformed result expressions shown when working with complex numbers

Status in “gcalctool” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: gcalctool

  When showing the result of operations (complex numbers), if the real
  part and the imaginary part are both positive, i.e. 5+7i, for example,
  the result shown is 57i.

  Other example: 5+8i + i = 59i, when 5+9i must be shown. When one of
  both of the parts are negative, the result is OK. And if the result
  has two or more digits, the result is OK too...

  I think something strange is happening when trying to print the result
  (do printf() or similar) in the program

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gcalctool 6.0.1~git20110421-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Sat May  7 13:21:51 2011
  ExecutablePath: /usr/bin/gcalctool
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
   LANGUAGE=es_ES:en
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: gcalctool
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/778997/+subscriptions