← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1566513] Re: Complex numbers are exponentiated incorrectly

 

Thanks for submitting the patch. I talked to the gnome-calculator
developer and he is probably doing a 3.18.4 release within the next week
or so that will include your patch. Let's wait for that before uploading
to Ubuntu 16.04 LTS.

** Bug watch added: GNOME Bug Tracker #759439
   https://bugzilla.gnome.org/show_bug.cgi?id=759439

** Also affects: gnome-calculator via
   https://bugzilla.gnome.org/show_bug.cgi?id=759439
   Importance: Unknown
       Status: Unknown

** Changed in: gnome-calculator (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: gnome-calculator (Ubuntu Xenial)
   Importance: Undecided => Low

** Changed in: gnome-calculator (Ubuntu)
   Importance: Undecided => Low

** Changed in: gnome-calculator (Ubuntu Yakkety)
   Importance: Undecided => Low

** Changed in: gnome-calculator (Ubuntu Yakkety)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1566513

Title:
  Complex numbers are exponentiated incorrectly

Status in GNOME Calculator:
  Unknown
Status in gnome-calculator package in Ubuntu:
  Fix Committed
Status in gnome-calculator source package in Xenial:
  Triaged
Status in gnome-calculator source package in Yakkety:
  Triaged

Bug description:
  The calculator incorrectly performs exponentiation if the base is
  complex and the exponent is a positive integer. Under these conditions
  the calculator exponentiates the real part of the base and leaves its
  imaginary part intact, that does not agree with the complex numbers
  operation rules. If the exponent is not a positive integer, the
  calculation is performed correctly.

  Steps to reproduce the bug:

  1. Start the program.
  2. Evaluate expression "i^2". The displayed result is "i".
  3. Evaluate expression "(1+i)^2". The displayed result is "1+i".
  4. Evaluate expression "(2+i)^2". The displayed result is "4+i".

  Please find a quick fix patch attached. I did not study its
  comprehensiveness and optimality, but it seems to work.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: gnome-calculator 1:3.16.2-1ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
  Uname: Linux 4.2.0-34-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Apr  5 22:59:29 2016
  InstallationDate: Installed on 2014-09-29 (554 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  SourcePackage: gnome-calculator
  UpgradeStatus: Upgraded to wily on 2015-10-29 (159 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-calculator/+bug/1566513/+subscriptions