Public bug reported:
type into the calculator
-1^2
Expected result: 1
Received result: -1
The bug applies to all negative numbers raised to any even number.
The bug is also present in Ubuntu 14.04
Workaround:
1.) put negativ number in parantheses (-1)^2 = 1
2.) insert the power argument with the <ctrl> key pressed like: -3<ctrl>8
3.) in scientific or programming mode use the (n↑) button.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gcalctool 6.4.1.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-20.35~precise1-generic 3.11.10.6
Uname: Linux 3.11.0-20-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu May 8 12:02:45 2014
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64
(20140204)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: gcalctool
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gcalctool (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise running-unity
--
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/1317473
Title:
wrong results - negative numbers raised to power of two
Status in “gcalctool” package in Ubuntu:
New
Bug description:
type into the calculator
-1^2
Expected result: 1
Received result: -1
The bug applies to all negative numbers raised to any even number.
The bug is also present in Ubuntu 14.04
Workaround:
1.) put negativ number in parantheses (-1)^2 = 1
2.) insert the power argument with the <ctrl> key pressed like: -3<ctrl>8
3.) in scientific or programming mode use the (n↑) button.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gcalctool 6.4.1.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-20.35~precise1-generic 3.11.10.6
Uname: Linux 3.11.0-20-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu May 8 12:02:45 2014
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64
(20140204)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.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/1317473/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp